Commit 47d382c4 authored by Gladys Forte's avatar Gladys Forte

Merge branch 'RMSv2' of http://42.61.118.105:7990/scm/rms/api-main-service into gladys-dev2

parents fd5ab454 ad291ba6
...@@ -47,7 +47,7 @@ class MasterAttachmentViewSet(viewsets.ModelViewSet): ...@@ -47,7 +47,7 @@ class MasterAttachmentViewSet(viewsets.ModelViewSet):
file_name = str(data.url).split('/') file_name = str(data.url).split('/')
body['id'] = data.id body['id'] = data.id
body['file_name'] = file_name[1] body['file_name'] = instance.name
attachments.append(body) attachments.append(body)
return Response( return Response(
......
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