From 71acbc9791ad42f99757feb9ed03e208fd09aa70 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 19 May 2023 02:39:47 +0300 Subject: Fix linter warnings --- vnext/server/middleware/event.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vnext/server/middleware/event.js') diff --git a/vnext/server/middleware/event.js b/vnext/server/middleware/event.js index 136ae268..5681eb59 100644 --- a/vnext/server/middleware/event.js +++ b/vnext/server/middleware/event.js @@ -12,7 +12,6 @@ const allSandboxIds = []; /** * handle message event - * * @param {import('../../client').Message} msg message */ function processMessageEvent(msg) { @@ -45,14 +44,15 @@ function processMessageEvent(msg) { .filter(t => t.type === 'hcm') .map(t => t.token); log(`${user.uname}: ${hmsIds}`); - send(msg, hmsIds).then(() => {}).catch(log); + send(msg, hmsIds).then(() => { + // TODO: handle results + }).catch(log); }); }).catch(log); } /** * Handle new events - * * @type {import('express').RequestParamHandler} */ export default function handleMessage(req, res) { -- cgit v1.2.3