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 a561db5 commit a029644Copy full SHA for a029644
components/frontapp/actions/create-message-template/create-message-template.mjs
@@ -81,8 +81,12 @@ export default {
81
if (folderId !== undefined) {
82
formData.append("folder_id", folderId);
83
}
84
- if (inboxIds !== undefined) {
+ if (typeof inboxIds === "string") {
85
formData.append("inbox_ids", inboxIds);
86
+ } else if (Array.isArray(inboxIds)) {
87
+ for (const inboxId of inboxIds) {
88
+ formData.append("inbox_ids", inboxId);
89
+ }
90
91
92
for (const attachment of attachments) {
0 commit comments