author | Kim Alvefur <zash@zash.se> |
Sat, 02 Dec 2023 13:26:31 +0100 | |
changeset 5766 | ff8b6d0b3bfa |
parent 5765 | 754f8eaad34c |
child 5767 | 6c0570a8b866 |
--- a/mod_storage_s3/mod_storage_s3.lua Sat Dec 02 12:30:28 2023 +0100 +++ b/mod_storage_s3/mod_storage_s3.lua Sat Dec 02 13:26:31 2023 +0100 @@ -249,7 +249,7 @@ prefix = table.concat(prefix, "/").."/"; local list_result, err = async.wait_for(new_request(self, "GET", bucket_path, { prefix = prefix; - ["max-keys"] = query["max"] and tostring(query["max"]); + ["max-keys"] = query["limit"] and tostring(query["limit"]); })); if err or list_result.code ~= 200 then return nil, err;