Browse Source

fix(ocm): format notifications

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/55634/head
Maxence Lange 10 months ago
parent
commit
b2a6c75b44
  1. 2
      lib/private/Federation/CloudFederationNotification.php
  2. 2
      lib/private/Federation/CloudFederationShare.php

2
lib/private/Federation/CloudFederationNotification.php

@ -32,7 +32,7 @@ class CloudFederationNotification implements ICloudFederationNotification {
$this->message = [
'notificationType' => $notificationType,
'resourceType' => $resourceType,
'providerId' => $providerId,
'providerId' => (string)$providerId,
'notification' => $notification,
];
}

2
lib/private/Federation/CloudFederationShare.php

@ -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…
Cancel
Save