fix: added serializer_class to views needed

This commit is contained in:
2025-08-07 17:06:37 +05:00
parent 09a418aae9
commit 4fa754012d
8 changed files with 33 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ from core.apps.companies.serializers.accounts import (
# @view-set | ALL - /company-accounts
###################################################################################
@extend_schema(tags=["Company Accounts"])
class CompanyAccountCrudViewSet(BaseViewSetMixin, ModelViewSet):
class CompanyAccountViewSet(BaseViewSetMixin, ModelViewSet):
queryset = CompanyAccountModel.objects.all()
serializer_class = ListCompanyAccountSerializer
permission_classes = [AllowAny]