Skip to content

Commit 885c3ad

Browse files
rename event payload parameter version to apiVersion because version already exists
1 parent 3dc0744 commit 885c3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ MapboxEventManager.prototype = {
180180
worldview: geocoder.options.worldview,
181181
mapZoom: zoom,
182182
keyboardLocale: this.locale,
183-
version: geocoder.options.version
183+
apiVersion: geocoder.options.version
184184
}
185185

186186
// get the text in the search bar

0 commit comments

Comments
 (0)