From 71e5a01e80711aff5f6054055b00cf7aa517af38 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 3 May 2024 13:09:51 -0300 Subject: [PATCH] fix: error 413 #15986 --- app/controllers/active_storage/disk_controller_decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/active_storage/disk_controller_decorator.rb b/app/controllers/active_storage/disk_controller_decorator.rb index ec3ac0b4..8af75227 100644 --- a/app/controllers/active_storage/disk_controller_decorator.rb +++ b/app/controllers/active_storage/disk_controller_decorator.rb @@ -36,7 +36,7 @@ module ActiveStorage rescue StandardError => e ExceptionNotifier.notify_exception(e, data: { key: token[:key], url: url, site: site.name }) - head :content_too_large + head :payload_too_large end else body = request.body