don't mix component name and database name
This commit is contained in:
@@ -105,7 +105,7 @@ export class PerformanceService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@InjectModel(COMPONENT_NAME)
|
@InjectModel('performance')
|
||||||
private readonly performanceModel: Model<PerformanceDocument>,
|
private readonly performanceModel: Model<PerformanceDocument>,
|
||||||
private readonly versioningService: VersioningService,
|
private readonly versioningService: VersioningService,
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user