mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
Update note-favorite.ts
This commit is contained in:
parent
c2c2824e50
commit
c610e5ed9b
@ -13,6 +13,8 @@ export class NoteFavoriteRepository extends Repository<NoteFavorite> {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
id: favorite.id,
|
id: favorite.id,
|
||||||
|
createdAt: favorite.createdAt,
|
||||||
|
noteId: favorite.noteId,
|
||||||
note: await Notes.pack(favorite.note || favorite.noteId, me),
|
note: await Notes.pack(favorite.note || favorite.noteId, me),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user