aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-09-10 17:40:46 +0200
committerGitHub <noreply@github.com>2024-09-10 17:40:46 +0200
commit979cc8712cfe090d01508a8cd56eca04e2d9f1c8 (patch)
tree4ea36bdee4428e768a5b3fbbbd36a35561298156 /apps
parenta7eaed721c477230176b0689cfcc2c1c7b458ec3 (diff)
parenta3da7456a7b4872cf788b6d853e792d83af7b505 (diff)
downloadnextcloud-server-979cc8712cfe090d01508a8cd56eca04e2d9f1c8.tar.gz
nextcloud-server-979cc8712cfe090d01508a8cd56eca04e2d9f1c8.zip
Merge pull request #47662 from nextcloud/fix/notification/validate-rich-object-key-value-types
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/Notification/Notifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php
index dd09fb6e20e..2609f99e691 100644
--- a/apps/files_sharing/lib/Notification/Notifier.php
+++ b/apps/files_sharing/lib/Notification/Notifier.php
@@ -126,9 +126,9 @@ class Notifier implements INotifier {
[
'node' => [
'type' => 'file',
- 'id' => $node->getId(),
+ 'id' => (string)$node->getId(),
'name' => $node->getName(),
- 'path' => $path,
+ 'path' => (string)$path,
],
]
);