Fix format

This commit is contained in:
Laurent Nguyen
2026-01-15 15:40:56 +01:00
parent 9a326c3b26
commit b862166862

View File

@@ -84,11 +84,7 @@ export const deleteDocuments = async (
const flatAllResult = Array.prototype.concat.apply([], allResult);
return flatAllResult;
} catch (error) {
handleError(
error,
"DeleteDocuments",
`Error while deleting ${totalCount} ${getEntityName(totalCount > 1)}`,
);
handleError(error, "DeleteDocuments", `Error while deleting ${totalCount} ${getEntityName(totalCount > 1)}`);
throw error;
} finally {
clearMessage();