Env var should be saved with PATCH
This commit is contained in:
parent
9ad263e984
commit
5e45008044
|
@ -14,7 +14,7 @@ Travis.EnvVarsAdapter = Travis.Adapter.extend
|
||||||
url = this.buildURL(record.constructor, get(record, primaryKey), record)
|
url = this.buildURL(record.constructor, get(record, primaryKey), record)
|
||||||
self = this
|
self = this
|
||||||
|
|
||||||
return this.ajax(url, record.toJSON(), "PUT").then (data) ->
|
return this.ajax(url, record.toJSON(), "PATCH").then (data) ->
|
||||||
self.didSaveRecord(record, data)
|
self.didSaveRecord(record, data)
|
||||||
return record
|
return record
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user