update
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { AuthService } from '@/modules/auth/auth.service'
|
||||
import { Injectable } from '@nestjs/common'
|
||||
import { applicationLoginDto } from './dto/auth.dto'
|
||||
|
||||
@Injectable()
|
||||
export class ApplicationAuthService {
|
||||
constructor(private readonly authService: AuthService) {}
|
||||
|
||||
async login(data: applicationLoginDto) {
|
||||
const loginResponse = await this.authService.login(data, true)
|
||||
|
||||
return loginResponse
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user