From d68b425e0e02879d39556d627c384f571eafb1bd Mon Sep 17 00:00:00 2001 From: Jonas Lochmann Date: Mon, 28 Sep 2020 02:00:00 +0200 Subject: [PATCH] fix missing transaction usage at notifyClientsAboutChangesDelayed --- src/function/websocket/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/function/websocket/index.ts b/src/function/websocket/index.ts index 56626fd..de33f37 100644 --- a/src/function/websocket/index.ts +++ b/src/function/websocket/index.ts @@ -36,7 +36,8 @@ export const notifyClientsAboutChangesDelayed = async ({ familyId, sourceDeviceI } : { familyId }, - attributes: ['deviceAuthToken'] + attributes: ['deviceAuthToken'], + transaction })).map((item) => ({ deviceAuthToken: item.deviceAuthToken }))