From ca21e0272f4b5c4037fa493f2dabf287b262b7be Mon Sep 17 00:00:00 2001 From: pacomix Date: Tue, 30 Jan 2024 20:13:45 +0100 Subject: [PATCH] FIX --max parameter when listing files --- src/files/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files/list.rs b/src/files/list.rs index bc9bce0..aaa1c28 100644 --- a/src/files/list.rs +++ b/src/files/list.rs @@ -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?;