fix(linter & types): resolve all ESLint warnings/errors and TypeScript type issues across backend and frontend projects
Deploy Canina / deploy (push) Has been cancelled
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
1 parent
ea726c52de
commit
3e21aefbf1
14 files changed
+23
-32
No files matched your search
@@ -9,12 +9,7 @@ import {
|
||||
Query,
|
||||
UseGuards,
|
||||
} from '@nestjs/common';
|
||||
import {
|
||||
AdminService,
|
||||
PaginationQuery,
|
||||
ProductInput,
|
||||
CouponInput,
|
||||
} from './admin.service';
|
||||
import { AdminService, ProductInput, CouponInput } from './admin.service';
|
||||
import { AdminQueryDto } from './dto/admin-query.dto';
|
||||
import { JwtAuthGuard } from '../auth/jwt-auth.guard';
|
||||
import {
|
||||
@@ -185,7 +180,7 @@ export class AdminController {
|
||||
|
||||
@Get('doctors')
|
||||
@ApiOperation({ summary: 'لیست پزشکان و متخصصین' })
|
||||
async getDoctors(@Query() query: AdminQueryDto) {
|
||||
async getDoctors() {
|
||||
const data = await this.adminService.getDoctors();
|
||||
return { success: true, data };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user