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 abd492b commit f0855a4Copy full SHA for f0855a4
app/controllers/files_controller.rb
@@ -1140,7 +1140,7 @@ def api_create_success
1140
return unless quota_exempt? || check_quota_after_attachment
1141
1142
if Attachment.s3_storage?
1143
- return head(:bad_request) unless [:attached, :attached_temporary].include?(@attachment.state)
+ return head(:bad_request) unless [:unattached, :unattached_temporary].include?(@attachment.state)
1144
1145
details = @attachment.s3object.data
1146
@attachment.process_s3_details!(details)
0 commit comments