Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
@InjectTypegoose(User) private readonly userModel: ModelType,
@InjectModel('Achievement') private readonly achievementModel: Model,
@InjectModel('Category') private readonly categoryModel: Model,
) { }
constructor(
@InjectModel(Episode) private readonly model: ReturnModelType,
@InjectModel(Course) private readonly courseModel: ReturnModelType
) { }
constructor(
@InjectModel(Episode) private readonly model: ReturnModelType,
@InjectModel(Course) private readonly courseModel: ReturnModelType
) { }
constructor(@InjectModel(User) private readonly model) { }
constructor(
@InjectTypegoose(User) private readonly userModel: ModelType,
@InjectModel('Upload') private readonly uploadModel: Model) { }
constructor(
@InjectModel(Course) private readonly model: ReturnModelType
) { }