Can download files
This commit is contained in:
@ -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?;
|
||||
|
Reference in New Issue
Block a user