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 }))