mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
fix userservice
This commit is contained in:
parent
fce767b0ad
commit
855ea70e9b
|
|
@ -30,7 +30,7 @@ class StockController extends BaseController
|
|||
|
||||
public function Overview(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args)
|
||||
{
|
||||
$usersService = getUsersService();
|
||||
$usersService = $this->getUsersService();
|
||||
$nextXDays = $usersService->GetUserSettings(GROCY_USER_ID)['stock_expring_soon_days'];
|
||||
|
||||
return $this->renderPage($response, 'stockoverview', [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user