mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
23e3821e24
This collapses the difference between master and single-process-server-tests, to remove some larger fixtures files that were in that feature branch.
6 lines
237 B
CoffeeScript
6 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)
|