Commit b01e5491 authored by Luuk Scholten's avatar Luuk Scholten
Browse files

Better url for list current member api

parent 12eb2fdf
......@@ -64,7 +64,6 @@ class MemberViewset(viewsets.ReadOnlyModelViewSet):
return Response(serializer.data)
@list_route()
def info(self, request):
serializer = MemberSerializer(request.user.member)
def me(self, request):
serializer = self.serializer_class(request.user.member)
return Response(serializer.data)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment