Skip to content

Commit 05488c8

Browse files
committed
remove hard requirement of tags and custom coordinate when update
1 parent 8dcfc6c commit 05488c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/imagekitio/file.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ def upload(file, file_name, options)
4646

4747
def update_details(file_id, options)
4848
# Update file detail by file_id and options
49-
50-
unless (options.key? :tags) || (options.key? :custom_coordinates)
51-
raise ArgumentError, constants.UPDATE_DATA_MISSING
52-
end
5349
unless options.fetch(:tags, []).is_a?(Array)
5450
raise ArgumentError, constants.UPDATE_DATA_TAGS_INVALID
5551
end

0 commit comments

Comments
 (0)