use pairs instead of ipairs

This commit is contained in:
Karol Wypchlo 2022-04-22 17:06:17 +02:00
parent f88dcf3eee
commit 0772958064
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ function _M.track_upload_timer(premature, skylink, auth_headers, uploader_ip)
local headers = {
["Content-Type"] = "application/x-www-form-urlencoded",
}
for key, value in ipairs(auth_headers) do
for key, value in pairs(auth_headers) do
headers[key] = value
end