From b4b971dd768004ba453edc6973aa3edd815799a3 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 13 Oct 2022 12:00:25 +0200 Subject: Increase file max size to upload --- src/routes/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes/user.rs') diff --git a/src/routes/user.rs b/src/routes/user.rs index efa6dd5..e78ec49 100644 --- a/src/routes/user.rs +++ b/src/routes/user.rs @@ -46,7 +46,7 @@ async fn get_me(claims: Claims) -> Result, AppError> { /// Edit the avatar of the user linked to the claims async fn edit_my_avatar( claims: Claims, - ContentLengthLimit(multipart): ContentLengthLimit, + ContentLengthLimit(multipart): ContentLengthLimit, ) -> Result, AppError> { let mut user = match User::find_by_id(claims.user_id).await { Ok(user) => user, -- cgit v1.2.3-71-g8e6c