Skip to content

Commit

Permalink
fix: 임시유저 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ybkang1108 committed Aug 13, 2024
1 parent a0fe104 commit 6e55a4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def delete(self, request):

@api_view(["GET", "PATCH"])
def profile(request):
user = User.objects.get(id=21) # 임시 유저 지정
# user = request.user
user = request.user

if request.method == "GET":
serializer = ProfileSerializer(user)
Expand Down

0 comments on commit 6e55a4e

Please sign in to comment.