Remove force_merge flag
This commit is contained in:
parent
bd8650e80b
commit
ea5a123cb8
1 changed files with 33 additions and 50 deletions
|
|
@ -66,14 +66,12 @@ export class UnrestrictedSyncer {
|
|||
public async unrestrictedSyncLocallyCreatedOrUpdatedFile({
|
||||
oldPath,
|
||||
document,
|
||||
forceMerge,
|
||||
// We use the same code path for both local and remote updates. We need to force the update
|
||||
// if there are no local changes but we know that the remote version is newer.
|
||||
force = false
|
||||
}: {
|
||||
oldPath?: RelativePath;
|
||||
force?: boolean;
|
||||
forceMerge?: boolean
|
||||
document: DocumentRecord;
|
||||
}): Promise<void> {
|
||||
|
||||
|
|
@ -128,7 +126,6 @@ export class UnrestrictedSyncer {
|
|||
const response = await this.syncService.create({
|
||||
relativePath: originalRelativePath,
|
||||
contentBytes,
|
||||
forceMerge
|
||||
});
|
||||
|
||||
await this.handleMaybeMergingResponse({
|
||||
|
|
|
|||
Loading…
Reference in a new issue