Skip to content

Commit

Permalink
Fix call to verify_receipt
Browse files Browse the repository at this point in the history
This short commit fixes an incorrect type being passed to the
`verify_receipt` function on IAP flow

Signed-off-by: Daniel D’Aquino <[email protected]>
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
danieldaquino authored and jb55 committed Feb 20, 2024
1 parent 7290b89 commit f1c87b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function config_router(app) {
return
}

let expiry_date = await verify_receipt(req.body, account_uuid)
let expiry_date = await verify_receipt(receipt_base64, account_uuid)
if (!expiry_date) {
error_response(res, 'Could not verify receipt')
return
Expand Down

0 comments on commit f1c87b5

Please sign in to comment.