mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 10:44:37 +00:00
Implemented tare weight handling (closes #132)
This commit is contained in:
@@ -33,7 +33,7 @@ class ChoresApiController extends BaseApiController
|
||||
}
|
||||
|
||||
$choreExecutionId = $this->ChoresService->TrackChore($args['choreId'], $trackedTime, $doneBy);
|
||||
return $this->ApiResponse(array('chore_execution_id' => $choreExecutionId));
|
||||
return $this->ApiResponse($this->Database->chores_log($choreExecutionId));
|
||||
}
|
||||
catch (\Exception $ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user