mirror of
https://github.com/outline/outline.git
synced 2026-11-28 16:19:46 +03:00
Applied automatic fixes
This commit is contained in:
1 parent
1217912486
commit
d7f6c4a4d5
1 file changed
+6
-1
@@ -118,7 +118,12 @@ export class NotionClient {
|
||||
pages.push({
|
||||
type: item.object === "page" ? PageType.Page : PageType.Database,
|
||||
id: item.id,
|
||||
name: this.parseTitle(item, item.object === "database" ? CollectionValidation.maxNameLength : DocumentValidation.maxTitleLength),
|
||||
name: this.parseTitle(
|
||||
item,
|
||||
item.object === "database"
|
||||
? CollectionValidation.maxNameLength
|
||||
: DocumentValidation.maxTitleLength
|
||||
),
|
||||
emoji: this.parseEmoji(item),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user