From 2c847db097b582785a802a5fe6fa04633b2a559e Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 21 Sep 2021 03:24:02 +0900 Subject: [PATCH] Revert "clean up" This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2. --- src/client/sw/create-notification.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/sw/create-notification.ts b/src/client/sw/create-notification.ts index 77d3460ce5..1ec684df8b 100644 --- a/src/client/sw/create-notification.ts +++ b/src/client/sw/create-notification.ts @@ -8,6 +8,8 @@ import getUserName from '@/misc/get-user-name'; import { swLang } from '@client/sw/lang'; import { I18n } from '@/misc/i18n'; import { pushNotificationDataMap } from '@client/sw/types'; +import { apiFetch } from './operations'; +import { getAccountFromId } from '@client/scripts/get-account-from-id'; export async function createNotification(data: pushNotificationDataMap[K]) { const n = await composeNotification(data);