Skip to content

Firefly III: a personal finances manager

Also add post data when PUT.

James Colebf79c9db7251
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index 0bba680727..33d11738aa 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -251,7 +251,7 @@ class Handler extends ExceptionHandler
'method' => request()->method(),
'headers' => $headers,
// @mago-expect lint:no-request-all
- 'post' => 'POST' === request()->method() ? json_encode(request()->all()) : '',
+ 'post' => 'PUT' === request()->method() || 'POST' === request()->method() ? json_encode(request()->all()) : '',
];
// create job that will mail.