change 'no nodes' response to use API_VERSION in output
This commit is contained in:
parent
6f1aad0d04
commit
412472212b
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class ApiController < ApplicationController
|
|||
return
|
||||
end
|
||||
if node_ids.length == 0
|
||||
render :text => "<osm version='0.5'></osm>", :content_type => "text/xml"
|
||||
render :text => "<osm version='#{API_VERSION}'></osm>", :content_type => "text/xml"
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue