Add webhook prod check script and update handoff

This commit is contained in:
2026-05-23 09:37:32 +07:00
parent 77cc676f40
commit 6d3c2efe5a
4 changed files with 82 additions and 8 deletions

View File

@ -1,4 +1,4 @@
import { Body, Controller, Get, Param, Patch, Post, Req, UseGuards } from '@nestjs/common';
import { Body, Controller, Get, Inject, Param, Patch, Post, Req, UseGuards } from '@nestjs/common';
import type { Request } from 'express';
import { AuthService } from './auth.service';
import { LoginDto } from './dto/login.dto';
@ -15,11 +15,7 @@ import { ChangePasswordDto } from './dto/change-password.dto';
@Controller('auth')
export class AuthController {
private readonly authService: AuthService;
constructor(authService: AuthService) {
this.authService = authService;
}
constructor(@Inject(AuthService) private readonly authService: AuthService) {}
@Post('login')
signIn(@Req() request: Request, @Body() body: LoginDto) {