Update api/src/utils/generics/base-repository.ts

This commit is contained in:
Med Marrouchi
2024-12-30 08:59:31 +01:00
committed by GitHub
parent 7e98fdc3bb
commit 62e18ab591

View File

@@ -490,7 +490,7 @@ export abstract class BaseRepository<
const queryUpdates = query.getUpdate();
if (!queryUpdates) {
throw new Error(' Unable to execute updateOne() - No updates');
throw new Error('Unable to execute updateOne() - No updates');
}
await this.preUpdateValidate(filterCriteria, queryUpdates);