Open pgb0930 opened 2 months ago
users.controller.ts
import { Controller, Post, Body } from '@nestjs/common'; import { UsersService } from './users.service'; @Controller('users') export class UsersController { constructor(private readonly usersService: UsersService) {} @Post('login') async register( @Body('username') username: string, @Body('password') password: string, ) { const user = await this.usersService.create(username, password); return user; } }
๐ Issue ํ ์ค ์์ฝ
users.controller.ts
๐คท Issue ์ธ๋ถ ๋ด์ฉ
โจ ๊ธฐ๋ ๊ฒฐ๊ณผ
๐ธ ์คํฌ๋ฆฐ์ท