mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Use default headers in publish release API call
This commit is contained in:
parent
350602a740
commit
938c85e616
@ -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={}) ->
|
||||
|
Loading…
Reference in New Issue
Block a user