events-backend: use consumedBy everywhere instead of subscriptionIds
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -127,7 +127,7 @@ class PluginEventsService implements EventsService {
|
||||
{
|
||||
body: {
|
||||
event: { payload: params.eventPayload, topic: params.topic },
|
||||
subscriptionIds: notifiedSubscribers,
|
||||
consumedBy: notifiedSubscribers,
|
||||
},
|
||||
},
|
||||
{ token },
|
||||
|
||||
@@ -24,5 +24,5 @@ export interface PostEventRequest {
|
||||
/**
|
||||
* The IDs of subscriptions that have already received this event
|
||||
*/
|
||||
subscriptionIds?: Array<string>;
|
||||
consumedBy?: Array<string>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user