Fixed constant typo (fixes #1260)

This commit is contained in:
Bernd Bestel 2021-01-06 09:31:36 +01:00
parent 4a4d9c451f
commit 27169e1428
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- Fixed that tracking chores with "Done by" a different user was not possible

View File

@ -81,7 +81,7 @@ class ChoresApiController extends BaseApiController
if ($doneBy != GROCY_USER_ID)
{
User::checkPermission($request, User::PERMISSION_CHORE_TRACK_EXECUTION_EXECUTION);
User::checkPermission($request, User::PERMISSION_CHORE_TRACK_EXECUTION);
}
$choreExecutionId = $this->getChoresService()->TrackChore($args['choreId'], $trackedTime, $doneBy);