From c610e5ed9ba300db9f95e901f83ffe59e19f109d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 19 May 2019 20:48:10 +0900 Subject: [PATCH] Update note-favorite.ts --- src/models/repositories/note-favorite.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/repositories/note-favorite.ts b/src/models/repositories/note-favorite.ts index 5bc6384106..b5875802fb 100644 --- a/src/models/repositories/note-favorite.ts +++ b/src/models/repositories/note-favorite.ts @@ -13,6 +13,8 @@ export class NoteFavoriteRepository extends Repository { return { id: favorite.id, + createdAt: favorite.createdAt, + noteId: favorite.noteId, note: await Notes.pack(favorite.note || favorite.noteId, me), }; }