corebasic 1.0.132 → 1.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/features.js +1 -1
- package/package.json +1 -1
package/libs/features.js
CHANGED
|
@@ -194,7 +194,7 @@ export const start = async (app, url, file) => {
|
|
|
194
194
|
// Subscribe to each topic
|
|
195
195
|
for (let topic of kafkaTopics) {
|
|
196
196
|
Kafka.receive(`Features.${topic}`, async (topic, message) => {
|
|
197
|
-
if (Utils.isEmpty(message.meta
|
|
197
|
+
if (Utils.isEmpty(message.meta?.company))
|
|
198
198
|
message.meta = { ...message.meta, company: "GLOBAL", outlet: "GLOBAL" }
|
|
199
199
|
|
|
200
200
|
const timer = ms => new Promise(res => setTimeout(res, ms)) // A promise that resolves after "ms" Milliseconds
|