fix(ocm): format notifications

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2025-10-08 17:04:40 -01:00
parent 6fc190ef4c
commit b2a6c75b44
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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;
}
/**