So far we have successfully passed down the invite_id query parameter, and persist it in local storage, and pass it back up to the writeUserData lambda function.
TODO:
Update writeUserData to take the user_id of the new user and add it into the invitations table for the record with invite_id that was passed up as well
finish handling edge cases in the referral invite lambda function
Objective:
Develop Lambda functions to handle retrieving the user's cards and the invitation process, and set up the necessary API Gateway endpoints.
Sub-tasks:
user_id
as a parameter.player_card_images
table to retrieve all records where theowner
is set to the provideduser_id
(from theusers
table).card_id
for the selected card, and theuser_id
of the inviting user.invite_id
from the invitations table.user_id
of the newly registered guest to the guest column.