Skip to content

Commit

Permalink
Rename the ServiceFolderName to serviceFolderName in drylab api
Browse files Browse the repository at this point in the history
  • Loading branch information
luissian committed Mar 10, 2022
1 parent 8f4b2a2 commit e39215b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iSkyLIMS_drylab/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def service_list(request):
] = profile_obj.get_clasification_area()

if Resolution.objects.filter(resolutionServiceID__pk__exact = services_serializer.data[item]['pk']).exists():
services_serializer.data[item]["ServiceFolderName"] = Resolution.objects.filter(resolutionServiceID__pk__exact = services_serializer.data[item]['pk']).last().resolutionFullNumber
services_serializer.data[item]["serviceFolderName"] = Resolution.objects.filter(resolutionServiceID__pk__exact = services_serializer.data[item]['pk']).last().resolutionFullNumber
else:
services_serializer.data[item]["ServiceFolderName"] = None
services_serializer.data[item]["serviceFolderName"] = None

for item in range(len(services_serializer.data)):
if Resolution.objects.filter(
Expand Down

0 comments on commit e39215b

Please sign in to comment.