From 2544e4bc21740d2c6d05c252dd3d76a62209d7a7 Mon Sep 17 00:00:00 2001 From: Ashesh3 <3626859+Ashesh3@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:02:59 +0530 Subject: [PATCH] lint --- src/service-worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service-worker.ts b/src/service-worker.ts index b1ec509aaab..0b1c40288f5 100644 --- a/src/service-worker.ts +++ b/src/service-worker.ts @@ -105,7 +105,7 @@ self.addEventListener("push", async function (event) { if (event.data) { const data = JSON.parse(event.data.text()); - if (["MESSAGE","PUSH_MESSAGE"].includes(data?.type)) { + if (["MESSAGE", "PUSH_MESSAGE"].includes(data?.type)) { self.clients.matchAll().then((clients) => { clients[0].postMessage(data); });