pub async fn add_user_wrapper(
json_creds: Json<Credentials>,
pool: Data<Pool<Postgres>>,
) -> impl Responder
Expand 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.