pg: status 'claimed' (not just 'claimed and redeemed') for external stores

This commit is contained in:
Ralf Vogler 2023-08-23 00:09:27 +02:00
parent 7551a6ca96
commit 40bcf1c8a2

View file

@ -159,6 +159,7 @@ try {
notify_game.status = `failed: need account linking for ${store}`; notify_game.status = `failed: need account linking for ${store}`;
db.data[user][title].status = 'failed: need account linking'; db.data[user][title].status = 'failed: need account linking';
} else { } else {
db.data[user][title].status = 'claimed';
// print code if there is one // print code if there is one
const redeem = { const redeem = {
// 'origin': 'https://www.origin.com/redeem', // TODO still needed or now only via account linking? // 'origin': 'https://www.origin.com/redeem', // TODO still needed or now only via account linking?