Skip to content

Commit

Permalink
rename event payload parameter version to apiVersion because version …
Browse files Browse the repository at this point in the history
…already exists
  • Loading branch information
VladislavMedved committed Jan 31, 2023
1 parent 3dc0744 commit 885c3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ MapboxEventManager.prototype = {
worldview: geocoder.options.worldview,
mapZoom: zoom,
keyboardLocale: this.locale,
version: geocoder.options.version
apiVersion: geocoder.options.version
}

// get the text in the search bar
Expand Down

0 comments on commit 885c3ad

Please sign in to comment.