Implement an RPC function named setup_profile to set up user profile when they click on the invitation link in the email. The function should take the following parameters:
first_name
last_name
password
avatar_url
Acceptance Criteria:
Function Implementation:
Implement the setup_profile RPC function in Supabase.
Request and Response:
The function should be callable using the Supabase client as follows:
Implement an RPC function named
setup_profile
to set up user profile when they click on the invitation link in the email. The function should take the following parameters:first_name
last_name
password
avatar_url
Acceptance Criteria:
setup_profile
RPC function in Supabase.Request and Response:
The function should be callable using the Supabase client as follows:
The function should return a response in the following format:
first_name + last_name
.Notes:
Tasks:
setup_profile
RPC function in Supabase.