Remove clutter

This commit is contained in:
Andras Schmelczer 2025-11-16 21:01:02 +00:00
parent bddf506eed
commit fc05bb5145

View file

@ -112,7 +112,7 @@ export class SyncService {
parentVersionId: VaultUpdateId;
documentId: DocumentId;
relativePath: RelativePath;
content: (number | string | bigint)[];
content: (number | string)[];
}): Promise<DocumentUpdateResponse> {
return this.withRetries(async () => {
this.logger.debug(
@ -122,12 +122,7 @@ export class SyncService {
const request: UpdateTextDocumentVersion = {
parentVersionId,
relativePath,
content: content.map((c) => {
if (typeof c === "bigint") {
return Number(c);
}
return c;
})
content
};
const response = await this.client(