Skip to content

Commit

Permalink
Merge branch 'feature/update-product-schema' into internal
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Aug 1, 2024
2 parents ff63d44 + 2bf70fb commit 53005a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iap/api/purchase.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ def request_product(receipt_data: ReceiptSchema,
"agent_addr": receipt.agent_addr,
"avatar_addr": receipt.avatar_addr,
"planet_id": receipt_data.planetId.decode(),
"package_name": receipt.package_name,
}))
logger.info(f"Voucher message: {resp['MessageId']}")

Expand Down Expand Up @@ -343,6 +342,7 @@ def request_product(receipt_data: ReceiptSchema,
"product_id": product.id,
"uuid": str(receipt.uuid),
"planet_id": receipt_data.planetId.decode('utf-8'),
"package_name": receipt.package_name,
}

resp = sqs.send_message(QueueUrl=SQS_URL, MessageBody=json.dumps(msg))
Expand Down

0 comments on commit 53005a4

Please sign in to comment.