10 lines
222 B
TypeScript
10 lines
222 B
TypeScript
|
import { Injectable } from '@nestjs/common';
|
||
|
import { LoginRequest } from './interfaces/auth.interface';
|
||
|
|
||
|
@Injectable()
|
||
|
export class AuthService {
|
||
|
async login(body: LoginRequest) {
|
||
|
return { test: body.email };
|
||
|
}
|
||
|
}
|