From 3afcaef927391db23fe23c6c8c26b8960e8dae32 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 29 Nov 2023 09:35:27 +0100 Subject: intermediate commit --- src/Controller/Unit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Controller/Unit.php') diff --git a/src/Controller/Unit.php b/src/Controller/Unit.php index 602c6e8..c57ff01 100644 --- a/src/Controller/Unit.php +++ b/src/Controller/Unit.php @@ -226,7 +226,7 @@ class Unit ) ); $event->payload = json_encode([ - 'type' => 'Borrow', + 'type' => $request->get('type'), 'unit' => $request->get('unit'), 'amount' => $amount, 'source' => $village->id, -- cgit v1.2.3