Fix bug
This commit is contained in:
parent
f976f32ea9
commit
1d1fc87920
5 changed files with 5 additions and 12 deletions
|
@ -65,7 +65,7 @@ export class PageRepository extends Repository<Page> {
|
|||
createdAt: page.createdAt.toISOString(),
|
||||
updatedAt: page.updatedAt.toISOString(),
|
||||
userId: page.userId,
|
||||
user: Users.pack(page.user || page.userId, me, { detail: true }),
|
||||
user: Users.pack(page.user || page.userId, me), // { detail: true } すると無限ループするので注意
|
||||
content: page.content,
|
||||
variables: page.variables,
|
||||
title: page.title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue