fix
This commit is contained in:
parent
2d7607bbc1
commit
fcadd98701
|
@ -1 +1 @@
|
|||
DATABASE_URL=postgres://postgres@localhost/hotel
|
||||
DATABASE_URL=postgres://postgres@localhost/trifid
|
|
@ -45,7 +45,7 @@ pub async fn signup_request(data: Data<AppState>, req: Json<SignupRequest>) -> H
|
|||
}
|
||||
};
|
||||
|
||||
if user.is_empty() {
|
||||
if !user.is_empty() {
|
||||
return HttpResponse::Unauthorized().json(APIErrorsResponse {
|
||||
errors: vec![
|
||||
APIError {
|
||||
|
|
Loading…
Reference in New Issue