Skip to content

Commit

Permalink
Typos fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
imsujinpark committed Nov 15, 2023
1 parent abd492b commit 3b1c5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/files_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ def api_create_success
return unless quota_exempt? || check_quota_after_attachment

if Attachment.s3_storage?
return head(:bad_request) unless [:attached, :attached_temporary].include?(@attachment.state)
return head(:bad_request) unless [:unattached, :unattached_temporary].include?(@attachment.state)

details = @attachment.s3object.data
@attachment.process_s3_details!(details)
Expand Down

0 comments on commit 3b1c5fc

Please sign in to comment.