2 Commits

Author SHA1 Message Date
Sebastian 01dbc8fbe0 chore(deps): update dependency @vitejs/plugin-vue to v6.0.8
PHP Unit Tests / test (pull_request) Failing after 14m37s
JS Unit Tests / test (pull_request) Failing after 14m39s
Build Test / test (pull_request) Failing after 14m59s
2026-07-20 03:04:08 +00:00
Sebastian dc6d6081ee fix: returned identifier on create and modify
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-07-19 06:45:48 -04:00
2 changed files with 6 additions and 6 deletions
+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['id']; return (string) $created['sid'];
} }
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');
} }
$updated = $this->serviceStore->modify($tenantId, $userId, $service); $this->serviceStore->modify($tenantId, $userId, $service);
return (string) $updated['sid']; return (string) $service->identifier();
} }
public function serviceDestroy(string $tenantId, string $userId, ResourceServiceMutateInterface $service): bool public function serviceDestroy(string $tenantId, string $userId, ResourceServiceMutateInterface $service): bool
+3 -3
View File
@@ -875,9 +875,9 @@
} }
}, },
"node_modules/@vitejs/plugin-vue": { "node_modules/@vitejs/plugin-vue": {
"version": "6.0.7", "version": "6.0.8",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.7.tgz", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.8.tgz",
"integrity": "sha512-km+p+XdSz9Sxm5rqUbqcSfZYaAniKxWBj1KURl+Jr7UaPvvX7BmaWMdP69I5rrFDeQGyxAG7NXdc57vz+snhWg==", "integrity": "sha512-0ZjgOg7oO6farnNGup7yvoM/YXZV84OZxHAwtflItNa/6zzQyVb5LNxyea3FEKEX2XlagIKzrlH7wwxkKgtiew==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {