pub async fn add_user_wrapper(
json_creds: Json<Credentials>,
pool: Data<Pool<Postgres>>,
) -> impl ResponderExpand description
Wrapper for add_user. Returns 202 if validated successfully and 401 if the user provided is not able to be created or there is some error.