693 viewsNext Amazona
0 Comments

Hey I’m having trouble with the implementation of this code, I am able to add products and set them their different categories, so far have managed to implement everything well with the youtube tutorial, but for some reason I’m not able to register user’s or login via the front-end but my Users can added in the sanity platform which is kinda weird I’m wondering where I went wrong as it does not show any errors except printing out that user does not exist

your help will be much appreciated

Bassir Answered question October 11, 2022

use console.log in this code to find it why the user does not create:

https://github.com/basir/sanity-amazona/blob/main/pages/api/users/register.js#L25

Bassir Answered question October 11, 2022
You are viewing 1 out of 1 answers, click here to view all answers.