Fix for when after from function or change is an array

This commit is contained in:
Steve Walsh
2021-07-08 16:57:27 +01:00
parent 2dba4dae7a
commit e67175157b
6 changed files with 116 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
module.exports = (org) => ({
module.exports = (org, workerId = 'worker-id') => ({
logger: {
metadata: {
organization: org
@@ -13,6 +13,7 @@ module.exports = (org) => ({
},
},
event: {
workers:[{id: `${workerId}:::something:::else`}],
event: {
organization: org,
token: {