From e6791d72c733b8fbde75884c2ab61a1defcbc722 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 15 Oct 2024 19:24:30 +0200 Subject: [PATCH] events_wrapper: Fix passing of event types. --- src/events_wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events_wrapper.js b/src/events_wrapper.js index 7f54f5f..38347f2 100644 --- a/src/events_wrapper.js +++ b/src/events_wrapper.js @@ -21,7 +21,7 @@ function eventsWrapper(config) { // eslint-disable-next-line no-constant-condition while (true) { try { - const params = { eventTypes }; + const params = { event_types: eventTypes }; res = await z.queues.register(params); // eslint-disable-line no-await-in-loop if (res.result === 'error') { logError(res.msg);