fix default page share state (API)
This commit is contained in:
parent
6e350f6746
commit
724e01bd55
1 changed files with 2 additions and 2 deletions
|
|
@ -69,8 +69,8 @@ export class ShareService {
|
|||
return await this.shareRepo.insertShare({
|
||||
key: nanoIdGen().toLowerCase(),
|
||||
pageId: page.id,
|
||||
includeSubPages: createShareDto.includeSubPages || true,
|
||||
searchIndexing: createShareDto.searchIndexing || true,
|
||||
includeSubPages: createShareDto.includeSubPages ?? false,
|
||||
searchIndexing: createShareDto.searchIndexing ?? false,
|
||||
creatorId: authUserId,
|
||||
spaceId: page.spaceId,
|
||||
workspaceId,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue