|
|
@@ -61,10 +61,8 @@ class ApiLegacyStorage implements FileStorageInterface
|
|
|
*/
|
|
|
public function deleteOrganizationFiles(int $organizationId): void
|
|
|
{
|
|
|
- // TODO: change the url with the definitive one
|
|
|
- $url = sprintf('api/files/organization/remove-all/%s', $organizationId);
|
|
|
-
|
|
|
- // $this->apiLegacyRequestService->get($url);
|
|
|
+ $url = sprintf('/_internal/request/organization-files/delete/%s', $organizationId);
|
|
|
+ $this->apiLegacyRequestService->get($url);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -75,9 +73,7 @@ class ApiLegacyStorage implements FileStorageInterface
|
|
|
*/
|
|
|
public function deletePersonFiles(int $personId): void
|
|
|
{
|
|
|
- // TODO: change the url with the definitive one
|
|
|
- $url = sprintf('api/files/person/remove-all/%s', $personId);
|
|
|
-
|
|
|
- // $this->apiLegacyRequestService->get($url);
|
|
|
+ $url = sprintf('/_internal/request/person-files/delete/%s', $personId);
|
|
|
+ $this->apiLegacyRequestService->get($url);
|
|
|
}
|
|
|
}
|