Commit ad291ba6 authored by John Red Medrano's avatar John Red Medrano

Merge pull request #204 in RMS/api-main-service from red-develop to RMSv2

* commit '61b95854':
  update value of file_name to request.name
parents 156b9f9f 61b95854
......@@ -47,7 +47,7 @@ class MasterAttachmentViewSet(viewsets.ModelViewSet):
file_name = str(data.url).split('/')
body['id'] = data.id
body['file_name'] = file_name[1]
body['file_name'] = instance.name
attachments.append(body)
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