Commit 9427b0f6 authored by John Red Medrano's avatar John Red Medrano

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

* commit '1c044dd9':
  replace slug at request to authenticator group
parents ce3525fa 1c044dd9
...@@ -67,7 +67,8 @@ class ApplicationViewSet(viewsets.ModelViewSet): ...@@ -67,7 +67,8 @@ class ApplicationViewSet(viewsets.ModelViewSet):
serializer = self.get_serializer(page, many=True) serializer = self.get_serializer(page, many=True)
results = [] results = []
for item in serializer.data: for item in serializer.data:
ids = item['id'] # print(item['code'])
ids = item['code']
# headers = { # headers = {
# 'content-type': 'application/json', # 'content-type': 'application/json',
# 'Authorization': request.META['HTTP_AUTHORIZATION'] # 'Authorization': request.META['HTTP_AUTHORIZATION']
......
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