From 56033c26f05576173a3c69cb91cc7e13463fc436 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sat, 12 Nov 2022 22:35:14 +0100 Subject: [PATCH] service worker: remove dead code --- packages/sw/src/scripts/create-notification.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/sw/src/scripts/create-notification.ts b/packages/sw/src/scripts/create-notification.ts index 7c95e8e41..00d4491f5 100644 --- a/packages/sw/src/scripts/create-notification.ts +++ b/packages/sw/src/scripts/create-notification.ts @@ -30,14 +30,6 @@ async function composeNotification(data const i18n = await swLang.i18n as I18n; const { t } = i18n; switch (data.type) { - /* - case 'driveFileCreated': // TODO (Server Side) - return [t('_notification.fileUploaded'), { - body: body.name, - icon: body.url, - data - }]; - */ case 'notification': switch (data.body.type) { case 'follow':