diff --git a/package.json b/package.json index 1943de1d2..ec3927a74 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "4.13.0", + "version": "4.13.1", "clientVersion": "1.0.6783", "codename": "nighthike", "main": "./built/index.js", diff --git a/src/services/note/create.ts b/src/services/note/create.ts index 7e2fb4ff6..a793c8e58 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -26,9 +26,9 @@ type Type = 'reply' | 'renote' | 'quote' | 'mention'; */ class NotificationManager { private notifier: IUser; - private note: any; + private note: INote; - constructor(notifier: IUser, note: any) { + constructor(notifier: IUser, note: INote) { this.notifier = notifier; this.note = note; } @@ -192,7 +192,7 @@ export default async (user: IUser, data: { // Serialize const noteObj = await pack(note); - const nm = new NotificationManager(user, noteObj); + const nm = new NotificationManager(user, note); const render = async () => { const content = data.renote && data.text == null