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, Get, Param, Post, Put } from '@nestjs/common'
import { Body, Controller, Get, Param, Patch, Post } from '@nestjs/common'
import { CreateLicenseDto, UpdateLicenseDto } from './dto/license.dto'
import { PartnerLicensesService } from './licenses.service'
@@ -21,7 +21,7 @@ export class LicensesController {
return this.licensesService.create(data)
}
@Put(':id')
@Patch(':id')
async update(@Param('id') id: string, @Body() data: UpdateLicenseDto) {
return this.licensesService.update(id, data)
}