Small refactoring: move changeset-handler creation to 'changes'

This commit is contained in:
Pieter Vander Vennet 2022-02-15 23:44:16 +01:00
parent 0a43a69a0c
commit dfb16fa802
6 changed files with 16 additions and 14 deletions

View file

@ -33,10 +33,8 @@ export default class UserRelatedState extends ElementsState {
super(layoutToUse);
this.osmConnection = new OsmConnection({
changes: this.changes,
dryRun: this.featureSwitchIsTesting,
fakeUser: this.featureSwitchFakeUser.data,
allElements: this.allElements,
oauth_token: QueryParameters.GetQueryParameter(
"oauth_token",
undefined,