bdy 1.9.14-dev → 1.9.15-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/distTs/package.json
CHANGED
|
@@ -131,6 +131,7 @@ class AgentManagerClass {
|
|
|
131
131
|
}
|
|
132
132
|
try {
|
|
133
133
|
await buddy_js_1.default.enableTarget(this.id, this.host, this.token);
|
|
134
|
+
this.agent.target = true;
|
|
134
135
|
}
|
|
135
136
|
catch (err) {
|
|
136
137
|
this.serverError(res, err.message);
|
|
@@ -145,6 +146,7 @@ class AgentManagerClass {
|
|
|
145
146
|
}
|
|
146
147
|
try {
|
|
147
148
|
await buddy_js_1.default.disableTarget(this.id, this.host, this.token);
|
|
149
|
+
this.agent.target = false;
|
|
148
150
|
}
|
|
149
151
|
catch (err) {
|
|
150
152
|
this.serverError(res, err.message);
|