update admin user business

This commit is contained in:
2026-03-14 16:26:44 +03:30
parent 007db7f9bd
commit d2215b9f04
62 changed files with 1812 additions and 140 deletions
@@ -1,4 +1,4 @@
import { Body, Controller, Delete, Get, Param, Post, Put } from '@nestjs/common'
import { Body, Controller, Delete, Get, Param, Patch, Post } from '@nestjs/common'
import { CreatePartnerLicenseDto, UpdateLicenseDto } from './dto/license.dto'
import { PartnerLicensesService } from './licenses.service'
@@ -24,7 +24,7 @@ export class PartnerLicensesController {
return this.licensesService.create(partnerId, data)
}
@Put(':id')
@Patch(':id')
async update(
@Param('partnerId') partnerId: string,
@Param('id') id: string,