We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e61078 commit 8dcfc6cCopy full SHA for 8dcfc6c
lib/imagekitio/file.rb
@@ -1,6 +1,6 @@
1
# frozen_string_literal: true
2
require_relative "utils/formatter"
3
-require 'byebug'
+
4
module ImageKitIo
5
class File
6
include Utils::Formatter
@@ -68,8 +68,8 @@ def list(options)
68
formatted_options = request_formatter(options)
69
raise KeyError(constants.LIST_FILES_INPUT_MISSING) unless formatted_options.is_a?(Hash)
70
url = constants.BASE_URL
71
- headers = @req_obj.create_headers.update({params: options})
72
- @req_obj.request("get", url, headers, options)
+ headers = @req_obj.create_headers.update({params: formatted_options})
+ @req_obj.request("get", url, headers, formatted_options)
73
end
74
75
def details(file_identifier)
0 commit comments