Hello,
I'm using the passworless recipe and i'd like to know if there is a way to transmit a language parameter to createCode from front-end to localize the email.
Thanx
r
rp_st
04/21/2023, 4:34 PM
Hey @dreuf see our docs on pre api hook.
rp_st
04/21/2023, 4:34 PM
You can use that to add custom props to the request body, and then later in the function for sending email, you can read the request via the user context to get the custom prop