hi,
Let's say I am using EconomyV2 to gift players a daily reward. I have some Azure Function called ClaimDailyReward() which looks something like this:
didUserClaimReward = GetRewardHistory(DateTime.Now.Date);
if(!didUserClaimReward)
{
GiveRewardWithEconomyV2();
//if this call fails to update the user data, the user will get a second daily reward
UpdateRewardHistory(DateTime.Now.Date);
}
I track if I gave the user a reward using player title data, what happens if that update fails? The user already got his reward. Is there some clever trick, like putting some item in the reward with the days date or something to get around this? Just curious if you have ideas for how to handle this scenario