Commit 4460eeec authored by John Red Medrano's avatar John Red Medrano

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

* commit '4ce816fb':
  change the value of key user to user instance
parents 26dff635 4ce816fb
......@@ -16,9 +16,7 @@ class ChangeRequestTemplateApproversSerializer(
try:
ret['company'] = model_to_dict(instance.user.department.company)
ret['department'] = model_to_dict(instance.user.department)
ret['name'] = instance.user.name
ret['email'] = instance.user.email
ret['contact_no'] = instance.user.contact_no
ret['user'] = model_to_dict(instance.user)
return ret
......
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