can you paste the 'type' of the value you are pass...
# support-questions-legacy
c
can you paste the 'type' of the value you are passing as the context in
Copy code
preAPIHook(context)
? in your code, You simply just need to replace
Copy code
(context: ThirdPartyEmailPasswordPreApiHookContext) => RequestInit
with
Copy code
(context: ThirdPartyEmailPasswordPreApiHookContext) => Promise<RequestInit>