Skip to content

Commit 2711319

Browse files
committed
Added actions
1 parent b637ee8 commit 2711319

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

components/workflow_max/actions/create-client-group/create-client-group.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import app from "../../workflow_max.app.mjs";
2+
import { parseStringPromise } from "xml2js";
23

34
export default {
45
key: "workflow_max-create-client-group",
@@ -50,6 +51,6 @@ export default {
5051
}
5152

5253
$.export("$summary", "Successfully created the client group: " + this.name);
53-
return response;
54+
return await parseStringPromise(response);
5455
},
5556
};

components/workflow_max/actions/delete-client-group/delete-client-group.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import app from "../../workflow_max.app.mjs";
2+
import { parseStringPromise } from "xml2js";
23

34
export default {
45
key: "workflow_max-delete-client-group",
@@ -34,6 +35,6 @@ export default {
3435
}
3536

3637
$.export("$summary", "Successfully deleted the client group: " + this.name);
37-
return response;
38+
return await parseStringPromise(response);
3839
},
3940
};

pnpm-lock.yaml

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)