Can download files

This commit is contained in:
2025-04-09 21:26:49 +02:00
parent 61a4ea62c6
commit 6f18aafc33
9 changed files with 126 additions and 5 deletions

View File

@ -15,7 +15,7 @@ pub struct CreateTokenBody {
right_account: bool,
right_movement: bool,
right_inbox: bool,
right_attachment: bool,
right_file: bool,
right_auth: bool,
}
@ -59,7 +59,7 @@ pub async fn create(auth: AuthExtractor, req: web::Json<CreateTokenBody>) -> Htt
right_account: req.right_account,
right_movement: req.right_movement,
right_inbox: req.right_inbox,
right_file: req.right_attachment,
right_file: req.right_file,
right_auth: req.right_auth,
})
.await?;