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

added bolean handler on the history of approber

parent bf028a7c
......@@ -1151,7 +1151,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 = {
......
......@@ -184,9 +184,6 @@ class UserViewSet(viewsets.ModelViewSet):
'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