Skip to content

Commit

Permalink
Fix: Update loginApi.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nangniya authored Feb 20, 2024
1 parent 44c1e43 commit db53441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/loginApi.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HTTP_URL } from '.';

export const login = async (code: string) => {
const res = await fetch(`${HTTP_URL}/kakao/login/local?code=${code}`);
const res = await fetch(`${HTTP_URL}/kakao/login?code=${code}`);
const data = await res.json();
return data;
};

0 comments on commit db53441

Please sign in to comment.