idk what am doing wrong !!

ReferenceError: username is not defined
at /app/api/index.js:12:104
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at next (/app/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)

1 answers

Hi lemon, I don’t know what did you use a payload but I think it seems that incorrect data was passed in the JSON.pasre() process, I can say: this is not important! If this is not the answer you want, plz ask again to me. Thanks 🤗