enhance(Page): ページを非公開にできるように (MisskeyIO#821)
This commit is contained in:
parent
6a416468e3
commit
1a81d3fa46
14 changed files with 75 additions and 16 deletions
|
@ -105,6 +105,7 @@ export class PageEntityService {
|
|||
attachedFiles: this.driveFileEntityService.packMany((await Promise.all(attachedFiles)).filter(isNotNull), me),
|
||||
likedCount: page.likedCount,
|
||||
isLiked: meId ? await this.pageLikesRepository.exists({ where: { pageId: page.id, userId: meId } }) : undefined,
|
||||
visibility: page.visibility,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue