fix critical error on save changes (#3264)

This commit is contained in:
Eduard Popov
2016-07-23 01:52:19 +10:00
committed by Bryan Housel
parent 21389094f5
commit ab190f085b

View File

@@ -280,7 +280,7 @@ export function Connection(useHttps) {
method: 'PUT',
path: '/api/0.6/changeset/create',
options: { header: { 'Content-Type': 'text/xml' } },
content: JXON.stringify(connection.changesetJXON(connection.changesetTags(comment, imageryUsed)))
content: JXON.stringify(connection.changesetJXON(connection.changesetTags(version, comment, imageryUsed)))
}, function(err, changeset_id) {
if (err) return callback(err);
oauth.xhr({