Hi everyone, does anyone know if it is possible to...
# javascript
c
Hi everyone, does anyone know if it is possible to send data to the invite email template when using inviteUserByEmail (https://supabase.com/docs/reference/javascript/auth-api-inviteuserbyemail)? If so how do I access the variables in the template on supabase? Already tried to pass it via the options/data, but can't get it to work. Thanks!
s
I haven't tested this but looking at the code you should be able to get meta data info inside the template. Try adding
{.Data.whatever_the_option_data_you_passed_was called}
and see if that works.
c
Thanks @User will try!