Document API changes in grocy.openapi.json (closes #969)

This commit is contained in:
Bernd Bestel
2020-11-14 21:26:16 +01:00
parent 491b74efa8
commit 62c9c285ba
3 changed files with 675 additions and 62 deletions

View File

@@ -134,7 +134,7 @@ class UsersApiController extends BaseApiController
return $this->ApiResponse(
$response,
$this->getDatabase()->user_permissions()->where($args['userId'])
$this->getDatabase()->user_permissions()->where('user_id', $args['userId'])
);
}
catch (\Slim\Exception\HttpSpecializedException $ex)