RED-9020 - Use new POST endpoint to hard-delete files
This commit is contained in:
parent
b2fd729051
commit
7a23639eaf
@ -16,7 +16,7 @@ export class FileManagementService extends GenericService<unknown> {
|
||||
|
||||
delete(files: List<File>, dossierId: string) {
|
||||
const fileIds = files.map(f => f.id);
|
||||
return super._post(fileIds, `delete/${dossierId}`).pipe(switchMap(() => this.#filesService.loadAll(dossierId)));
|
||||
return super._post(fileIds, `delete/hard-delete/${dossierId}`).pipe(switchMap(() => this.#filesService.loadAll(dossierId)));
|
||||
}
|
||||
|
||||
rotatePage(body: IPageRotationRequest, dossierId: string, fileId: string) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user