Skip to content

Commit

Permalink
[refactor]: 소셜 로그아웃 리스폰스 props 제거 (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohgus committed Jun 2, 2024
1 parent d52ee6d commit 435c13b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/services/api/v1/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ type SocialLogoutRequestProps = {
providerId: string;
};

type SocialLogoutResponseProps = {
message: string;
code: number;
};

// 로그인: 토큰 발급
export const getKakaoOauthToken = async ({ code }: TokenRequestProps) => {
const API_KEY = import.meta.env.VITE_REST_API_KEY;
Expand Down Expand Up @@ -90,9 +85,7 @@ export const logout = async ({
export const socialLogout = async ({
providerId,
socialAccessToken,
}: SocialLogoutRequestProps): Promise<
AxiosResponse<SocialLogoutResponseProps>
> => {
}: SocialLogoutRequestProps): Promise<AxiosResponse> => {
const response = await apiV1.post('/oauth/social/logout', {
provider: 'KAKAO',
providerId,
Expand Down

0 comments on commit 435c13b

Please sign in to comment.