This commit is contained in:
syuilo 2021-03-21 22:26:45 +09:00
parent 1abf4c5e31
commit 2860641f30
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export class NotificationRepository extends Repository<Notification> {
public async pack(
src: Notification['id'] | Notification,
options: {
_hintForEachNotes_: {
_hintForEachNotes_?: {
emojis: Emoji[] | null;
myReactions: Map<Note['id'], NoteReaction | null>;
};

View File

@ -30,7 +30,7 @@ export async function createNotification(
...data
} as Partial<Notification>);
const packed = await Notifications.pack(notification);
const packed = await Notifications.pack(notification, {});
// Publish notification event
publishMainStream(notifieeId, 'notification', packed);