This commit is contained in:
2026-03-11 20:42:34 +03:30
parent 8c5f1d4d49
commit 007db7f9bd
30 changed files with 393 additions and 219 deletions
@@ -1,7 +1,7 @@
import { PrismaService } from '@/prisma/prisma.service'
import { Injectable } from '@nestjs/common'
import { ResponseMapper } from 'common/response/response-mapper'
import { CreateLicenseDto, UpdateLicenseDto } from './dto/license.dto'
import { CreatePartnerLicenseDto, UpdateLicenseDto } from './dto/license.dto'
@Injectable()
export class PartnerLicensesService {
@@ -105,7 +105,7 @@ export class PartnerLicensesService {
return ResponseMapper.single(license)
}
async create(partnerId: string, data: CreateLicenseDto) {
async create(partnerId: string, data: CreatePartnerLicenseDto) {
// const license = await this.prisma.$transaction(async tx => {
// const user = await tx.user.upsert({
// where: {