We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89fd64e commit 2fc8618Copy full SHA for 2fc8618
components/xendit/actions/create-payout/create-payout.mjs
@@ -1,3 +1,4 @@
1
+import { parseObject } from "../../common/utils.mjs";
2
import xendit from "../../xendit.app.mjs";
3
4
export default {
@@ -70,7 +71,7 @@ export default {
70
71
optional: true,
72
},
73
metadata: {
- type: "string",
74
+ type: "object",
75
label: "Metadata",
76
description: "A list of objects of metadata key-value pairs. The key must be a string and the value can be a string or number.",
77
@@ -95,7 +96,7 @@ export default {
95
96
email_cc: this.emailCc,
97
email_bcc: this.emailBcc,
98
- metadata: this.metadata,
99
+ metadata: parseObject(this.metadata),
100
101
});
102
0 commit comments