Remove extra hashing and only update changed files when syncing
This commit is contained in:
parent
c41ce7ef68
commit
cacd0243de
2 changed files with 50 additions and 58 deletions
|
|
@ -75,7 +75,7 @@ export class SyncService {
|
|||
relativePath: RelativePath;
|
||||
contentBytes: Uint8Array;
|
||||
createdDate: Date;
|
||||
}): Promise<components["schemas"]["DocumentVersion"]> {
|
||||
}): Promise<components["schemas"]["DocumentUpdateResponse"]> {
|
||||
const response = await this.client.POST(
|
||||
"/vaults/{vault_id}/documents",
|
||||
{
|
||||
|
|
@ -126,7 +126,7 @@ export class SyncService {
|
|||
relativePath: RelativePath;
|
||||
contentBytes: Uint8Array;
|
||||
createdDate: Date;
|
||||
}): Promise<components["schemas"]["DocumentVersion"]> {
|
||||
}): Promise<components["schemas"]["DocumentUpdateResponse"]> {
|
||||
const response = await this.client.PUT(
|
||||
"/vaults/{vault_id}/documents/{document_id}",
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue