Update note-favorite.ts

This commit is contained in:
syuilo 2019-05-19 20:48:10 +09:00
parent c88b89b501
commit 5e4abe42bb

View file

@ -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),
};
}