summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-19 20:48:10 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-19 20:48:10 +0900
commitc610e5ed9ba300db9f95e901f83ffe59e19f109d (patch)
treebe19a109188ad7f9436d514769c581e576d731f3 /src
parentFix bug (diff)
downloadsharkey-c610e5ed9ba300db9f95e901f83ffe59e19f109d.tar.gz
sharkey-c610e5ed9ba300db9f95e901f83ffe59e19f109d.tar.bz2
sharkey-c610e5ed9ba300db9f95e901f83ffe59e19f109d.zip
Update note-favorite.ts
Diffstat (limited to 'src')
-rw-r--r--src/models/repositories/note-favorite.ts2
1 files changed, 2 insertions, 0 deletions
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<NoteFavorite> {
return {
id: favorite.id,
+ createdAt: favorite.createdAt,
+ noteId: favorite.noteId,
note: await Notes.pack(favorite.note || favorite.noteId, me),
};
}