1 Commits

Author SHA1 Message Date
Sebastian e82f2cb43b chore(deps): update dependency @vitejs/plugin-vue to v6.0.8
PHP Unit Tests / test (pull_request) Failing after 13m35s
JS Unit Tests / test (pull_request) Failing after 13m47s
Build Test / test (pull_request) Failing after 13m55s
2026-07-18 03:05:06 +00:00
+3 -3
View File
@@ -142,7 +142,7 @@ class Provider implements ProviderBaseInterface, ProviderServiceMutateInterface,
} }
$created = $this->serviceStore->create($tenantId, $userId, $service); $created = $this->serviceStore->create($tenantId, $userId, $service);
return (string) $created['sid']; return (string) $created['id'];
} }
public function serviceModify(string $tenantId, string $userId, ResourceServiceMutateInterface $service): string public function serviceModify(string $tenantId, string $userId, ResourceServiceMutateInterface $service): string
@@ -151,8 +151,8 @@ class Provider implements ProviderBaseInterface, ProviderServiceMutateInterface,
throw new \InvalidArgumentException('Service must be instance of JMAP Service'); throw new \InvalidArgumentException('Service must be instance of JMAP Service');
} }
$this->serviceStore->modify($tenantId, $userId, $service); $updated = $this->serviceStore->modify($tenantId, $userId, $service);
return (string) $service->identifier(); return (string) $updated['sid'];
} }
public function serviceDestroy(string $tenantId, string $userId, ResourceServiceMutateInterface $service): bool public function serviceDestroy(string $tenantId, string $userId, ResourceServiceMutateInterface $service): bool