This commit is contained in:
Ruben Fiszel
2024-04-11 20:40:34 +02:00
parent 51fad8c8a9
commit fdfacba0f1
2 changed files with 9 additions and 1 deletions

View File

@@ -744,7 +744,10 @@ export function cleanValueProperties(obj: Value) {
export function orderedJsonStringify(obj: any, space?: string | number) {
const allKeys = new Set()
JSON.stringify(obj, (key, value) => (value && allKeys.add(key), value))
JSON.stringify(
obj,
(key, value) => (value != undefined && value != null && allKeys.add(key), value)
)
return JSON.stringify(obj, (Array.from(allKeys) as string[]).sort(), space)
}

View File

@@ -813,6 +813,11 @@
<br /><br />
It can take additionally the following args: channel_id, user_name, user_id, command,
trigger_id, api_app_id
<br /><br />
<span class="font-bold text-xs">
The script or flow is permissioned as group "slack" that will be automatically created
after connection to Slack.