api06: Fix OSM::APIVersionMismatchError.render_opts
This commit is contained in:
parent
2ff2cdf63d
commit
e823ce2fc4
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ module OSM
|
|||
attr_reader :provided, :latest
|
||||
|
||||
def render_opts
|
||||
{ :text => "Version mismatch: Provided " + ex.provided.to_s +
|
||||
", server had: " + ex.latest.to_s, :status => :bad_request }
|
||||
{ :text => "Version mismatch: Provided " + provided.to_s +
|
||||
", server had: " + latest.to_s, :status => :bad_request }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue