diff --git a/api/views.py b/api/views.py index 89ccba6..472cf55 100644 --- a/api/views.py +++ b/api/views.py @@ -1176,6 +1176,7 @@ def get(self, request): if (oUser.user_type.description == 'Admin' or oUser.user_type.description == 'Owner'): command = """\ SELECT \ + c."id" ,\ c."name" ,\ c.lastname ,\ a."confirmationDate" ,\ @@ -1201,6 +1202,7 @@ def get(self, request): else: command = """\ SELECT \ + c."id" ,\ c."name" ,\ c."lastname" ,\ a."confirmationDate" ,\ @@ -1249,6 +1251,7 @@ def get(self, request): if (oUser.user_type.description == 'Admin' or oUser.user_type.description == 'Owner'): command = """\ SELECT \ + c."id" ,\ c."name" ,\ c.lastname ,\ a."confirmationDate" ,\ @@ -1276,6 +1279,7 @@ def get(self, request): else: command = """\ SELECT \ + c."id" ,\ c."name" ,\ c."lastname" ,\ a."confirmationDate" ,\ @@ -1338,4 +1342,4 @@ def dictfetchall(cursor): return [ dict(zip(columns, row)) for row in cursor.fetchall() - ] \ No newline at end of file + ]