Closed AdrieneTZ closed 1 year ago
res
, including checking conditions to handle the bad request.register
, if the email address has been registered, I'm not sure this res
should end with status code 507
or 400
.Thank you for reviewing this PR and giving me so many suggestions.
In the latest commit:
if/ else
to refactor the processes of the checking conditionreturn
before every res
to make the coding style consistent