HI <@!350477548469092372> , You're simply passing ...
# support-questions
c
HI @User , You're simply passing in the wrong types From what I see, You have a preApiHook property expected to return a promise but the method you're trying to use returns a synchronous value. Can you make sure they match? an example is that you can extend
Copy code
(context: ThirdPartyEmailPasswordPreApiHookCotext) => RequesInit
and wrap it with a promise like
Copy code
(context: ThirdPartyEmailPasswordPreApiHookCotext) => Promise<RequesInit>
then use the extended type on preApiHook. Feel free to paste code here so we see the exact mistake you're making and show how to correct you.