Applied automatic fixes

This commit is contained in:
codegen-sh[bot] authored and github-actions[bot] committed 2025-04-24 11:11:35 +00:00
1 parent 1217912486
commit d7f6c4a4d5
1 file changed
+6 -1
+6 -1
View File
@@ -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),
});
}