Skip to content

Commit

Permalink
refactor(#97): 로그인 api의 queryKey를 auth -> token으로 변경하기
Browse files Browse the repository at this point in the history
  • Loading branch information
naarang committed Nov 27, 2024
1 parent 37797a5 commit c628b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/feature/user/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const useUserMutation = () => {

export const useLoginQuery = ({ code }: { code: string }) => {
const query = useQuery({
queryKey: ['auth'],
queryKey: ['token'],
queryFn: () => getLogin({ code })
});

Expand Down

0 comments on commit c628b11

Please sign in to comment.