fix:  修复ticketsession (#7857)

Co-authored-by: feng626 <1304903146@qq.com>
pull/7864/head
fit2bot 2022-03-15 17:32:54 +08:00 committed by GitHub
parent e1a238b778
commit a18b9bad0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class TicketSessionRelationViewSet(CreateModelMixin, JMSGenericViewSet):
# Todo: 放到上面的 ViewSet 中
class TicketSessionApi(views.APIView):
perm_model = TicketSession
def get(self, request, *args, **kwargs):
with tmp_to_root_org():