Commit 684faa41 authored by Laury Bueno's avatar Laury Bueno
Browse files

[Stats] Prefer present tense verbs for actions

parent dbf817a0
......@@ -58,6 +58,6 @@ class UserAccessView(views.APIView):
return Response({'error': 'Specified area not found'}, status=status.HTTP_404_NOT_FOUND)
# Save the action
action.send(request.user, verb='accessed', action_object=action_object)
action.send(request.user, verb='access', action_object=action_object)
return Response(None, status=status.HTTP_201_CREATED)
Markdown is supported
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