auth.recover returns server error of 'response is undefined'
quantuminformation opened this issue · 2 comments
quantuminformation commented
You can reproduce this here:
https://svelte-netlify-identity.netlify.com/recover
Am I calling the code wrong here? : https://github.com/QuantumInformation/svelte-fullstack-starter/blob/master/src/stores/netlifyUserStore.js#L84
It always hits the below catch
ljosberinn commented
Can't reproduce - await goTrue.recover(token)
resolves with a user for me, but only once as the token is invalidated after (which, on a sidenote, makes testing very tedious).
quantuminformation commented
OK I seem to have have fixed it, closing it, if anyone else finds this I will re open.
thx for testing