mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(ocm): format notifications
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
6fc190ef4c
commit
b2a6c75b44
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ class CloudFederationNotification implements ICloudFederationNotification {
|
|||
$this->message = [
|
||||
'notificationType' => $notificationType,
|
||||
'resourceType' => $resourceType,
|
||||
'providerId' => $providerId,
|
||||
'providerId' => (string)$providerId,
|
||||
'notification' => $notification,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ class CloudFederationShare implements ICloudFederationShare {
|
|||
* @since 14.0.0
|
||||
*/
|
||||
public function setProviderId($providerId) {
|
||||
$this->share['providerId'] = $providerId;
|
||||
$this->share['providerId'] = (string)$providerId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue