From 3b1c5fce80a86fd6e8601500ef6e7b800ad863b2 Mon Sep 17 00:00:00 2001 From: imsujinpark Date: Wed, 15 Nov 2023 15:46:34 +0900 Subject: [PATCH] Typos fixed --- app/controllers/files_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/files_controller.rb b/app/controllers/files_controller.rb index d5e96f055a875..5c7c281565d9e 100644 --- a/app/controllers/files_controller.rb +++ b/app/controllers/files_controller.rb @@ -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)