From be9784e047b911142d584891e3d745c935390676 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 17 Dec 2021 23:17:34 +0100 Subject: [PATCH] Fix build --- Logic/Osm/Changes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Logic/Osm/Changes.ts b/Logic/Osm/Changes.ts index 1ef139603..56b5feb47 100644 --- a/Logic/Osm/Changes.ts +++ b/Logic/Osm/Changes.ts @@ -107,7 +107,7 @@ export class Changes { * Uploads all the pending changes in one go. * Triggered by the 'PendingChangeUploader'-actor in Actors */ - public async flushChanges(flushreason: string = undefined, openChangeset: UIEventSource) : Promise{ + public async flushChanges(flushreason: string = undefined, openChangeset?: UIEventSource) : Promise{ if (this.pendingChanges.data.length === 0) { return; } @@ -312,7 +312,7 @@ export class Changes { return true; } - private async flushChangesAsync(openChangeset: UIEventSource): Promise { + private async flushChangesAsync(openChangeset?: UIEventSource): Promise { const self = this; try { // At last, we build the changeset and upload