Skip to content

Commit

Permalink
fix: login finish api uri 포트 번호 8000으로 재수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yjoonjang committed Mar 31, 2024
1 parent 5fd6480 commit b36cc71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def kakao_callback(request):
# 유저가 존재하는 경우
logger.warning(f"user: {user}")
logger.warning("유저 존재")
accept = requests.post("http://localhost:80/accounts/kakao/login/finish/", data=data)
accept = requests.post("http://localhost:8000/accounts/kakao/login/finish/", data=data)
logger.warning(f"accept: {accept}")
logger.warning(f"accept.reason: {accept.reason}")
logger.warning(f"accept.history: {accept.history}")
Expand All @@ -135,7 +135,7 @@ def kakao_callback(request):
except CustomUser.DoesNotExist:
# 기존에 가입된 유저가 없으면 새로 가입
logger.warning("유저 미존재")
accept = requests.post("http://localhost:80/accounts/kakao/login/finish/", data=data)
accept = requests.post("http://localhost:8000/accounts/kakao/login/finish/", data=data)
logger.warning(f"accept: {accept}")
logger.warning(f"accept.reason: {accept.reason}")
logger.warning(f"accept.request: {accept.request}")
Expand Down

0 comments on commit b36cc71

Please sign in to comment.