yral-dapp / hot-or-not-backend-canister

Other
9 stars 6 forks source link

Token supply not fetched for user #407

Open harshita-srivastava-yral opened 1 month ago

harshita-srivastava-yral commented 1 month ago

User is complaining that they did not get the token even through they tried to create token multiple times.

Profile link: https://yral.com/?user_refer=bbkmd-b5ai7-hdk3t-k6fus-wnuts-6vutj-d456i-usxhy-bkae6-xkhda-5qe

To be checked if user has transferred the token

Additionally, when the token creation fails the app now shows as "Processing" but the tokens never get added to the cansiter.

Proposed Solution Add a function for deleting tokens. We can send a delete request on the web app if creation fails but canister still has the entry