Skip to content

Commit

Permalink
delete: 불필요 코드 삭제 #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ozzing committed May 7, 2022
1 parent b97d5a2 commit e1d3b3a
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 53 deletions.
99 changes: 52 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@nestjs/swagger": "^5.2.1",
"cross-fetch": "^3.1.5",
"dotenv": "^16.0.0",
"firebase-admin": "^10.0.2",
"firebase-admin": "^10.2.0",
"firebase-functions": "^3.18.0",
"node-fetch": "^3.2.4",
"passport": "^0.5.2",
Expand Down
5 changes: 0 additions & 5 deletions src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ import { KakaoCodeDto, KakaoIdDto, KakaoTokenDto } from './dto/auth.kakao.dto';
export class AuthController {
constructor(private authService: AuthService) {}

@Get()
getAll(): User[] {
return this.authService.getAll();
}

@Get('/kakaologin')
loginkakao(@Res() res: any): void {
const url = `https://kauth.kakao.com/oauth/authorize?client_id=${process.env.KAKAO_KEY}&redirect_uri=${process.env.KAKAO_URI}&response_type=code`;
Expand Down

0 comments on commit e1d3b3a

Please sign in to comment.