Use API v1 by default

This commit is contained in:
Piotr Sarnacki 2012-11-08 16:51:26 +01:00
parent 5d257b69be
commit 2f21def4a1

View File

@ -4,7 +4,7 @@ class Travis::Api::App
module Helpers
module Accept
HEADER_FORMAT = /vnd\.travis-ci\.(\d+)\+(\w+)/
DEFAULT_VERSION = 'v2'
DEFAULT_VERSION = 'v1'
DEFAULT_FORMAT = 'json'
def accept_version