From 6bc951e1271138f3f18e3e4ada75fb5f7c2f56c6 Mon Sep 17 00:00:00 2001 From: meow12 Date: Wed, 25 May 2022 15:55:40 +0300 Subject: [PATCH] fix(sse): send message additional fields (#87) send message added additional fiels concerning notifications --- src/components/sse.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/sse.js b/src/components/sse.js index c2c2e56..21f7c22 100644 --- a/src/components/sse.js +++ b/src/components/sse.js @@ -250,6 +250,8 @@ export async function sendMessage({ message, meta, fileIds, + pushAfter, + pushTemplateId, }) { const response = await server.loadJson( `${Config.eventsApiUrl}${Endpoints.PROJECT.NOTIFICATIONS.SERVER_EVENTS.SEND_MESSAGE}`, @@ -266,6 +268,8 @@ export async function sendMessage({ message, meta, fileIds, + pushAfter, + pushTemplateId, }), } );