mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
7 lines
237 B
CoffeeScript
7 lines
237 B
CoffeeScript
|
config = require '../../server_config'
|
||
|
|
||
|
module.exports.verifyReceipt = (receipt, done) ->
|
||
|
formFields = { 'receipt-data': receipt }
|
||
|
request.post {url: config.apple.verifyURL, json: formFields}, (err, res, body) ->
|
||
|
done(err, body)
|