MarcelRobitaille / nextcloud_google_synchronization

🇬 Google integration into Nextcloud
GNU Affero General Public License v3.0
21 stars 2 forks source link

Google Calender Sync Job is registered with wrong argument #7

Closed zwiefelp closed 9 months ago

zwiefelp commented 1 year ago

https://github.com/MarcelRobitaille/nextcloud_google_synchronization/blob/9cbc79b19c3e53e95b1edd6b137e914985524863/lib/Controller/GoogleAPIController.php#L249

Method registerSyncCalender is called with wrong number of argumnents. This results in a none working google calender sync background-job. (Misleading Error in Response from google: Missing API-Key...)

First argument (accessToken) needs to be deleted from the call: $result = $this->googleCalendarAPIService->registerSyncCalendar($this->userId, $calId, $calName, $color);

MarcelRobitaille commented 9 months ago

This is fixed in the latest release