summaryrefslogtreecommitdiff
path: root/src/Controller/Unit.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-11-29 09:35:27 +0100
committerDaniel Weipert <code@drogueronin.de>2023-11-29 09:35:27 +0100
commit3afcaef927391db23fe23c6c8c26b8960e8dae32 (patch)
tree143b9f6df9e8c795c8c6ed901bffdc7119f40df1 /src/Controller/Unit.php
parentc4ce3e884a6aa527bcc138771617215cf03265a4 (diff)
intermediate commit
Diffstat (limited to 'src/Controller/Unit.php')
-rw-r--r--src/Controller/Unit.php2
1 files changed, 1 insertions, 1 deletions
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,