Hello, I'm using the passworless recipe and i'd l...
# support-questions-legacy
d
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
Hey @dreuf see our docs on pre api hook.
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
d
Thank you !