API importer for Notion (#8710)

This commit is contained in:
Hemachandar
2025-03-24 00:49:13 +05:30
committed by GitHub
parent 8b65ad3cfa
commit 6e98568e5b
74 changed files with 13259 additions and 150 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export async function collectionIndexing(
for (const collection of sortable) {
if (collection.index === null) {
collection.index = fractionalIndex(previousIndex, null);
promises.push(collection.save({ transaction }));
promises.push(collection.save({ fields: ["index"], transaction })); // save only index to prevent overwriting other unfetched fields.
}
previousIndex = collection.index;