1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 23:07:01 +00:00

some minor improvements

This commit is contained in:
Dominic 2020-05-03 18:21:50 +02:00
parent 992d9be195
commit 328ebf821e
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
13 changed files with 29 additions and 19 deletions

View file

@ -92,7 +92,7 @@ fn delete(id : u64)
fn auth_read_all(auth : AuthStatus<()>) -> AuthSuccess<String>
{
match auth {
AuthStatus::Authenticated(data) => Ok(format!("{:?}", data).into()),
AuthStatus::Authenticated(data) => Ok(format!("{:?}", data)),
_ => Err(Forbidden)
}
}