Skip to content

Commit

Permalink
chore: 변수명 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SangWoo9734 committed Dec 25, 2024
1 parent 989eb85 commit 17d6b5b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/apis/auth/socialSignIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ const useGetSocialSignIn = ({
provider: string;
params: string;
}) => {
const socialSignInUrl = `${USER.socialsignIn}/${provider}?${params}`;
const socialSignInUrl = `${USER.socialSignIn}/${provider}?${params}`;

const { data, isLoading } = useQuery({
queryKey: [`${USER.socialsignIn}/${provider}`],
queryKey: [`${USER.socialSignIn}/${provider}`],
queryFn: () => getSocialSignIn(socialSignInUrl),
});

Expand Down
2 changes: 1 addition & 1 deletion src/constants/API.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const USER = {
signIn: '/user/login/normal',
signUp: '/user/register',
socialsignIn: '/user/login/social',
socialSignIn: '/user/login/social',
validateEmail: '/user/validation/email',
validateNickname: '/user/validation/nickname',
};
Expand Down
2 changes: 1 addition & 1 deletion src/mocks/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const handlers = [
);
}),

http.get(`${USER.socialsignIn}/:provider`, () => {
http.get(`${USER.socialSignIn}/:provider`, () => {
return HttpResponse.json(
{
isRegistered: true,
Expand Down

0 comments on commit 17d6b5b

Please sign in to comment.