File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/lib/server/service Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ import {
66 type InsightsRoutingServiceFilterOptions ,
77} from "./insightsRoutingBase" ;
88
9- export interface IInsightsRoutingService {
9+ export interface Dependencies {
1010 prisma : typeof readonlyPrisma ;
1111}
1212
1313export class InsightsRoutingService {
14- constructor ( private readonly dependencies : IInsightsRoutingService ) { }
14+ constructor ( private readonly deps : Dependencies ) { }
1515
1616 create ( {
1717 options,
@@ -21,7 +21,7 @@ export class InsightsRoutingService {
2121 filters : InsightsRoutingServiceFilterOptions ;
2222 } ) : InsightsRoutingBaseService {
2323 return new InsightsRoutingBaseService ( {
24- prisma : this . dependencies . prisma ,
24+ prisma : this . deps . prisma ,
2525 options,
2626 filters,
2727 } ) ;
You can’t perform that action at this time.
0 commit comments