Browse Source

Merge branch 'master' of blezz-tech/sharix-open-tickets into master

1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/permissions.py

+ 1 - 1
api/permissions.py

@@ -2,7 +2,7 @@ from rest_framework import permissions
 
 
 class UserCanReadTicketListPermission(permissions.BasePermission):
-    def has_object_permission(serf, request, view, obj):
+    def has_object_permission(self, request, view, obj):
         return request.user.is_superuser or obj.group in request.user.groups.all()