parent
9f174bb380
commit
2c847db097
1 changed files with 2 additions and 0 deletions
|
@ -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<K extends keyof pushNotificationDataMap>(data: pushNotificationDataMap[K]) {
|
||||
const n = await composeNotification(data);
|
||||
|
|
Loading…
Reference in a new issue