Commit 44c11afd authored by John Red Medrano's avatar John Red Medrano

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

* commit 'e84f0dfe':
  added bolean handler on the history of approber
parents b442e1a9 e84f0dfe
......@@ -1195,7 +1195,7 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet):
).values().order_by('-created')
for data in history:
data = data['toValue'].replace("'", '"').replace('None', '""')
data = data['toValue'].replace("'", '"').replace('None', '""').replace('True', '""')
convert = json.loads(data)
history_dict = {
......
......@@ -183,9 +183,6 @@ class UserViewSet(viewsets.ModelViewSet):
raise ParseError(
'Cannot update this record the user has a record on change request it might cause a data error'
)
serializer = self.get_serializer(
instance, data=request.data, partial=partial
......
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