mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
added some logging
This commit is contained in:
parent
75df284967
commit
32714e5d26
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ async function iapIOSVerify (user, iapBody) {
|
|||
if (iap.isValidated(appleRes)) {
|
||||
token = appleRes.receipt.transactionIdentifier;
|
||||
|
||||
console.log(JSON.stringify(appleRes), JSON.stringify(appleRes.receipt));
|
||||
|
||||
let existingReceipt = await IapPurchaseReceipt.findOne({
|
||||
_id: token,
|
||||
}).exec();
|
||||
|
|
|
|||
Loading…
Reference in a new issue