Skip to content

Commit

Permalink
FIX --max parameter when listing files
Browse files Browse the repository at this point in the history
  • Loading branch information
pacomix authored Jan 30, 2024
1 parent da821bf commit ca21e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub async fn list(config: Config) -> Result<(), Error> {
&ListFilesConfig {
query: config.query.clone(),
order_by: config.order_by.clone(),
max_files: min(config.max_files, MAX_PAGE_SIZE),
max_files: config.max_files,
},
)
.await?;
Expand Down

0 comments on commit ca21e02

Please sign in to comment.