Skip to content

Commit cb142dc

Browse files
author
Max Gruenfelder
committed
beta 0
1 parent d1b8ddc commit cb142dc

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cap-js-community/event-queue",
3-
"version": "2.0.4",
3+
"version": "2.1.0-beta.0",
44
"description": "An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.",
55
"main": "src/index.js",
66
"types": "src/index.d.ts",

src/outbox/EventQueueGenericOutboxHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class EventQueueGenericOutboxHandler extends EventQueueBaseClass {
330330
#buildDispatchData(context, payload, { key, queueEntries } = {}) {
331331
const { useEventQueueUser } = this.eventConfig;
332332
const userId = useEventQueueUser ? config.userId : payload.contextUser;
333-
const reg = payload.das_fromSend ? new cds.Request(payload) : new cds.Event(payload);
333+
const reg = payload._fromSend ? new cds.Request(payload) : new cds.Event(payload);
334334
const invocationFn = payload._fromSend ? "send" : "emit";
335335
delete reg._fromSend;
336336
delete reg.contextUser;

0 commit comments

Comments
 (0)