Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/event_update_notification.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-09-04 13:41:31 +0300
committerJoas Schilling <coding@schilljs.com>2019-09-04 13:41:31 +0300
commit78263784fd847dc5d09fc84859b36541f0b456b5 (patch)
tree9f6beffeab1c41d890474e25006ab9bb61518d25
parentaf0dd0a67877bb6e2cc64aebead4fd23b7657dc9 (diff)
Object id must be a string
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/Backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Backend.php b/lib/Backend.php
index 2de1cdd..ddf5340 100644
--- a/lib/Backend.php
+++ b/lib/Backend.php
@@ -94,7 +94,7 @@ class Backend {
$notification = $this->notificationManager->createNotification();
$notification->setApp('event_update_notification')
- ->setObject('calendar', (int) $calendarData['id'])
+ ->setObject('calendar', (string) $calendarData['id'])
->setUser($currentUser)
->setDateTime($now)
->setMessage('event_update_notification', [