Skip to content

Commit f0855a4

Browse files
author
imsujinpark
committed
fixed typos
1 parent abd492b commit f0855a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/files_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ def api_create_success
11401140
return unless quota_exempt? || check_quota_after_attachment
11411141

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

11451145
details = @attachment.s3object.data
11461146
@attachment.process_s3_details!(details)

0 commit comments

Comments
 (0)