fix: ensure requestSync is set correctly in DocumentSchema

- Added a line to set payload.requestSync to true within the DocumentSchema class, ensuring that synchronization requests are properly flagged for processing.
- This change reinforces the handling of sync operations, aligning with previous optimizations made to the background synchronization process.
This commit is contained in:
2024-12-17 05:50:01 +07:00
parent 19059f0e19
commit be35684ba2

View File

@@ -774,9 +774,9 @@ export class DocumentSchema extends PothosSchema {
// payload.pageIndex,
// ctx
// );
payload.requestSync = true;
}
payload.requestSync = true;
// biome-ignore lint/suspicious/noExplicitAny: error is any
} catch (error: any) {
Logger.error("Background sync check failed", {