diff --git a/assets/scripts/lib/travis/adapters/env_vars.coffee b/assets/scripts/lib/travis/adapters/env_vars.coffee index 440bc2fe..36dba2c2 100644 --- a/assets/scripts/lib/travis/adapters/env_vars.coffee +++ b/assets/scripts/lib/travis/adapters/env_vars.coffee @@ -14,7 +14,7 @@ Travis.EnvVarsAdapter = Travis.Adapter.extend url = this.buildURL(record.constructor, get(record, primaryKey), record) self = this - return this.ajax(url, record.toJSON(), "PUT").then (data) -> + return this.ajax(url, record.toJSON(), "PATCH").then (data) -> self.didSaveRecord(record, data) return record