mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
added some logging
This commit is contained in:
@@ -90,6 +90,8 @@ async function iapIOSVerify (user, iapBody) {
|
|||||||
if (iap.isValidated(appleRes)) {
|
if (iap.isValidated(appleRes)) {
|
||||||
token = appleRes.receipt.transactionIdentifier;
|
token = appleRes.receipt.transactionIdentifier;
|
||||||
|
|
||||||
|
console.log(JSON.stringify(appleRes), JSON.stringify(appleRes.receipt));
|
||||||
|
|
||||||
let existingReceipt = await IapPurchaseReceipt.findOne({
|
let existingReceipt = await IapPurchaseReceipt.findOne({
|
||||||
_id: token,
|
_id: token,
|
||||||
}).exec();
|
}).exec();
|
||||||
|
|||||||
Reference in New Issue
Block a user