forked from FoundKeyGang/FoundKey
fix bug
This commit is contained in:
parent
82de8b7c50
commit
2f2a8e537d
2 changed files with 2 additions and 2 deletions
|
@ -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>;
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue