set default version to v2 for easier query/performance inspection for now
This commit is contained in:
parent
1624742cfd
commit
fa4c5db39b
|
@ -40,7 +40,7 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: git://github.com/travis-ci/travis-core.git
|
||||
revision: 97deed578fb6b9ed5ac5063049d22f29912cab3c
|
||||
revision: 7c84635b5c180a716150c4300bff3ea8f381248c
|
||||
branch: sf-travis-api
|
||||
specs:
|
||||
travis-core (0.0.1)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module Travis::Api::App::Helpers::Responders
|
||||
class Json < Base
|
||||
ACCEPT_VERSION = /vnd\.travis-ci\.(\d+)\+/
|
||||
DEFAULT_VERSION = 'v1'
|
||||
DEFAULT_VERSION = 'v2'
|
||||
|
||||
def render
|
||||
options[:version] ||= version
|
||||
|
|
Loading…
Reference in New Issue
Block a user