Use default headers in publish release API call

This commit is contained in:
Kevin Sawicki 2013-12-10 17:46:34 -08:00
parent 350602a740
commit 938c85e616

View File

@ -107,9 +107,7 @@ publishRelease = (release) ->
options =
uri: release.url
method: 'POST'
headers:
Authorization: "token #{token}"
'User-Agent': 'Atom'
headers: defaultHeaders
json:
draft: false
request options, (error, response, body={}) ->