mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Added logic to chek for changes in org variable in msg object
This commit is contained in:
25
test/unit/fixtures/data/orgEvent.js
Normal file
25
test/unit/fixtures/data/orgEvent.js
Normal file
@@ -0,0 +1,25 @@
|
||||
module.exports = (org) => ({
|
||||
logger: {
|
||||
metadata: {
|
||||
organization: org
|
||||
}
|
||||
},
|
||||
payload: {
|
||||
system: {
|
||||
organization: org,
|
||||
region: 'eu-test-1',
|
||||
conversationId: 'convo-id',
|
||||
bot: 'my-bot'
|
||||
},
|
||||
},
|
||||
event: {
|
||||
event: {
|
||||
organization: org,
|
||||
token: {
|
||||
contents: {
|
||||
organization: org
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user