Skip to content

Firefly III: a personal finances manager

Add info

James Cole869ee7c735c9
diff --git a/app/Api/V1/Controllers/Models/Transaction/StoreController.php b/app/Api/V1/Controllers/Models/Transaction/StoreController.php
index 9f683f6916..7cc9ee9d14 100644
--- a/app/Api/V1/Controllers/Models/Transaction/StoreController.php
+++ b/app/Api/V1/Controllers/Models/Transaction/StoreController.php
@@ -44,6 +44,7 @@ use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\ValidationException;
use League\Fractal\Resource\Item;
+use Symfony\Component\HttpKernel\Exception\GoneHttpException;
use Symfony\Component\HttpKernel\Exception\HttpException;
/**
@@ -83,7 +84,7 @@ class StoreController extends Controller
*
* Store a new transaction.
*
- * @throws FireflyException|ValidationException
+ * @throws FireflyException|ValidationException|GoneHttpException
*/
public function store(StoreRequest $request): JsonResponse
{