fix(build): resolve linter and tsconfig project service errors, guarantee dist/main existence in start-dev
Deploy Canina / deploy (push) Has been cancelled

This commit is contained in:
parsa aghaei committed 2026-08-18 20:23:59 +03:30
1 parent a291fa0c4a
commit 6362750dea
50 files changed
+12128 -10959

No files matched your search

+15 -2
View File
@@ -1,4 +1,12 @@
import { Controller, Post, Body, HttpCode, HttpStatus, UseGuards, Req } from '@nestjs/common';
import {
Controller,
Post,
Body,
HttpCode,
HttpStatus,
UseGuards,
Req,
} from '@nestjs/common';
import { AuthService } from './auth.service';
import { SendOtpDto } from './dto/send-otp.dto';
import { VerifyOtpDto } from './dto/verify-otp.dto';
@@ -96,7 +104,12 @@ export class AuthController {
@HttpCode(HttpStatus.OK)
@ApiOperation({ summary: 'تازه‌سازی توکن دسترسی (Refresh Token)' })
@ApiOkResponse({ description: 'توکن جدید با موفقیت صادر شد' })
refresh(@Req() req: { user: { id: string; email?: string; role?: string; mobile?: string } }) {
refresh(
@Req()
req: {
user: { id: string; email?: string; role?: string; mobile?: string };
},
) {
return this.authService.refresh(req.user);
}