Skip to content

Commit

Permalink
Merge pull request #104 from pacomix/FIX-list-max-parameter
Browse files Browse the repository at this point in the history
FIX --max parameter when listing files
  • Loading branch information
prasmussen committed Jan 30, 2024
2 parents da821bf + ca21e02 commit 1662db6
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 1662db6

Please sign in to comment.