Remove clutter
This commit is contained in:
parent
bddf506eed
commit
fc05bb5145
1 changed files with 2 additions and 7 deletions
|
|
@ -112,7 +112,7 @@ export class SyncService {
|
||||||
parentVersionId: VaultUpdateId;
|
parentVersionId: VaultUpdateId;
|
||||||
documentId: DocumentId;
|
documentId: DocumentId;
|
||||||
relativePath: RelativePath;
|
relativePath: RelativePath;
|
||||||
content: (number | string | bigint)[];
|
content: (number | string)[];
|
||||||
}): Promise<DocumentUpdateResponse> {
|
}): Promise<DocumentUpdateResponse> {
|
||||||
return this.withRetries(async () => {
|
return this.withRetries(async () => {
|
||||||
this.logger.debug(
|
this.logger.debug(
|
||||||
|
|
@ -122,12 +122,7 @@ export class SyncService {
|
||||||
const request: UpdateTextDocumentVersion = {
|
const request: UpdateTextDocumentVersion = {
|
||||||
parentVersionId,
|
parentVersionId,
|
||||||
relativePath,
|
relativePath,
|
||||||
content: content.map((c) => {
|
content
|
||||||
if (typeof c === "bigint") {
|
|
||||||
return Number(c);
|
|
||||||
}
|
|
||||||
return c;
|
|
||||||
})
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const response = await this.client(
|
const response = await this.client(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue