POST data as JSON

This commit is contained in:
Kevin Sawicki 2015-01-06 14:21:46 -08:00
parent d931b3ed5c
commit a01e6e543e

View File

@ -150,8 +150,7 @@ createAtomDraftRelease = (callback) ->
uri: 'https://api.github.com/repos/atom/atom/releases'
method: 'POST'
headers: defaultHeaders
json: true
qs:
json:
tag_name: "v#{version}"
name: version
draft: true