def put(self, request):
user = get_object_or_404(User, id=request.user.id)
serializer = UserUpdateSerializer(user, data=request.data, context={'request': request})
if serializer.is_valid():
serializer.save()
return Response({"message":"회원 수정이 완료되었습니다."}, status=status.HTTP_200_OK)
return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)