We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d93245 commit 739666aCopy full SHA for 739666a
src/core/BaseService.ts
@@ -516,7 +516,7 @@ export class BaseService<E extends Node> {
516
options?: BaseOptionsExtended
517
): Promise<E> {
518
const manager = this.extractManager(options);
519
- const found = await this.findOne(where);
+ const found = await this.findOne(where, userId, options);
520
const updatedByIdObject: WarthogSpecialModel = this.hasColumn('updatedById')
521
? { updatedById: userId }
522
: {};
0 commit comments