Skip to content

Commit

Permalink
feat: 로그인 시 url 주소 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kanghaeun committed Jul 20, 2024
1 parent d72a4ea commit 33f1390
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions FE/error/src/pages/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ const LoginPage = () => {
const handleSlackAuth = async (authCode) => {
setIsLoading(true);
try {
const response = await axios.post("/api/auth/login/slack", {
authCode,
});
const response = await axios.post("/api/auth/login/slack", authCode);

if (response.data.success) {
localStorage.setItem("slackToken", response.data.token);
Expand Down

0 comments on commit 33f1390

Please sign in to comment.