Commit 1f5ffb68 authored by Gladys Forte's avatar Gladys Forte

Merge pull request #618 in RMS/api-main-service from red-develop to product-dev

* commit 'ca61db27':
  removed serializer on rms dashboard endpoint this serializer is not necessary
parents 45bf56ab ca61db27
...@@ -8,9 +8,6 @@ from rest_framework.permissions import AllowAny ...@@ -8,9 +8,6 @@ from rest_framework.permissions import AllowAny
from app.entities.models import ( from app.entities.models import (
User, Company, Department User, Company, Department
) )
from app.applicationlayer.master.dashboard.serializer import (
RMSDashBoardSerializer
)
from app.applicationlayer.utils import CustomPagination from app.applicationlayer.utils import CustomPagination
from app.entities import enums from app.entities import enums
from django.db.models import Count from django.db.models import Count
...@@ -43,7 +40,7 @@ class RMSDashBoardViewSet(APIView): ...@@ -43,7 +40,7 @@ class RMSDashBoardViewSet(APIView):
if user_type == enums_department: if user_type == enums_department:
company_count = 1 company_count = 1
department_count = 1 department_count = 1
user_count = User.objects.filter( user_count = User.objects.filter(
......
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