From 4af4a765f4e17484810e3c772df844a0d984874a Mon Sep 17 00:00:00 2001 From: Williams Date: Wed, 6 Sep 2023 12:05:12 -0400 Subject: [PATCH] adding code to trace=y endpoint --- tr_sys/tr_ars/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tr_sys/tr_ars/api.py b/tr_sys/tr_ars/api.py index 56813ffa..fe795678 100644 --- a/tr_sys/tr_ars/api.py +++ b/tr_sys/tr_ars/api.py @@ -214,6 +214,7 @@ def trace_message(req, key): tree = { 'message': str(mesg.id), 'status': dict(Message.STATUS)[mesg.status], + 'code':mesg.code, 'actor': { 'pk': mesg.actor.pk, 'inforesid': mesg.actor.inforesid,