お気に入りを解除できるように
This commit is contained in:
parent
1012b2b2c7
commit
719fac6480
4 changed files with 43 additions and 7 deletions
|
|
@ -75,7 +75,9 @@ export const pack = (
|
|||
delete _favorite._id;
|
||||
|
||||
// Populate note
|
||||
_favorite.note = await packNote(_favorite.noteId, me);
|
||||
_favorite.note = await packNote(_favorite.noteId, me, {
|
||||
detail: true
|
||||
});
|
||||
|
||||
// (データベースの不具合などで)投稿が見つからなかったら
|
||||
if (_favorite.note == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue