feat: add payment module and factory
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { Injectable } from "@nestjs/common";
|
||||
import { InjectRepository } from "@nestjs/typeorm";
|
||||
import { Repository } from "typeorm";
|
||||
|
||||
import { Wallet } from "../entities/wallet.entity";
|
||||
|
||||
@Injectable()
|
||||
export class WalletsRepository extends Repository<Wallet> {
|
||||
constructor(@InjectRepository(Wallet) walletsRepository: Repository<Wallet>) {
|
||||
super(walletsRepository.target, walletsRepository.manager, walletsRepository.queryRunner);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user