mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
Update api/src/utils/generics/base-repository.ts
This commit is contained in:
parent
7e98fdc3bb
commit
62e18ab591
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user