Skip to content

Commit

Permalink
feat: logout API 추가
Browse files Browse the repository at this point in the history
- #66
  • Loading branch information
SaaaHoP committed Oct 20, 2022
1 parent 71bd669 commit 0a8504e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/api/auth.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import client from '@/lib/api/client';

export const kakaoLogin = (code: string) => client.get(`/api/sign-in/kakao?code=${code}`);

export const logout = () => client.post('/api/account/logout');

0 comments on commit 0a8504e

Please sign in to comment.