mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 14:55:12 +00:00
Update note-favorite.ts
This commit is contained in:
parent
c2c2824e50
commit
c610e5ed9b
1 changed files with 2 additions and 0 deletions
|
@ -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),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue