改进
This commit is contained in:
parent
ca4a10830e
commit
c00b97bf8e
@ -131,7 +131,7 @@ public function cost(Request $request, Host $host): JsonResponse
|
||||
'description' => 'nullable|string:max:255',
|
||||
]);
|
||||
|
||||
$host->cost($request->input('amount'), false);
|
||||
$host->cost($request->input('amount'), false, $request->input('description'));
|
||||
|
||||
return $this->noContent();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user