mirror of
https://github.com/grocy/grocy.git
synced 2025-08-07 23:09:48 +00:00
fixed missing class error in CalendarApiController (#669)
This commit is contained in:
parent
646f638111
commit
81d84d93e2
@ -52,7 +52,7 @@ class CalendarApiController extends BaseApiController
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
return $this->ApiResponse($response, array(
|
return $this->ApiResponse($response, array(
|
||||||
'url' => $this->AppContainer->get('UrlManager')->ConstructUrl('/api/calendar/ical?secret=' . $this->getApiKeyService()->GetOrCreateApiKey(ApiKeyService::API_KEY_TYPE_SPECIAL_PURPOSE_CALENDAR_ICAL))
|
'url' => $this->AppContainer->get('UrlManager')->ConstructUrl('/api/calendar/ical?secret=' . $this->getApiKeyService()->GetOrCreateApiKey(\Grocy\Services\ApiKeyService::API_KEY_TYPE_SPECIAL_PURPOSE_CALENDAR_ICAL))
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
catch (\Exception $ex)
|
catch (\Exception $ex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user