Skip to content

Commit

Permalink
fix(repo-hook): param name aggregate instead of aggregateModel
Browse files Browse the repository at this point in the history
  • Loading branch information
lucagiove committed Mar 22, 2024
1 parent 1b3e554 commit f967720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repo/repo-hooks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ClientSession } from 'mongodb';

export interface IRepoHooks<A> {
onSave(aggregate: A, mongoSession?: ClientSession): Promise<void>;
export interface IRepoHooks<AM> {
onSave(aggregateModel: AM, mongoSession?: ClientSession): Promise<void>;
}

0 comments on commit f967720

Please sign in to comment.