This commit is contained in:
Valentin Tolmer 2021-05-09 13:28:53 +02:00
parent 25027f7614
commit c33948ccc2

View File

@ -28,7 +28,7 @@ where
let req: ListUsersRequest = info.clone();
match data.backend_handler.list_users(req).await {
Ok(res) => ApiResult::Left(web::Json(res)),
Err(_) => ApiResult::Right(HttpResponse::InternalServerError().finish())
Err(_) => ApiResult::Right(HttpResponse::InternalServerError().finish()),
}
}