Skip to content

Commit

Permalink
fix(fe) #637: OAuth 문제 해결
Browse files Browse the repository at this point in the history
전 커밋에서 PATH.google을 바꿈으로써 해결됨
다음에 볼 때 이해하기 쉬우라고 주석 추가함
  • Loading branch information
devbattery committed Dec 13, 2024
1 parent 6fc2e90 commit 31a0223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fe/src/service/queries/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const useOAuthLogin = (code: string) => {

const query = useQuery({
queryKey: [QUERY_KEY.OAuth],
queryFn: () => fetchOAuthLogin(code),
queryFn: () => fetchOAuthLogin(code), // 이 코드로 백엔드 API 호출
enabled: !!code,
});

Expand Down

0 comments on commit 31a0223

Please sign in to comment.