mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +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
|
||||
{
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user