Yeah, probably time to just return the response from middleware when using enact_policy().

pull/1695/head
jMyles 2020-02-15 19:40:09 -07:00
parent cf07c3add6
commit 6b530ee1a1
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class RestMiddleware:
path=f'kFrag/{kfrag_id.hex()}',
data=payload,
timeout=2)
return True, ursula.stamp.as_umbral_pubkey()
return response
def reencrypt(self, work_order):
ursula_rest_response = self.send_work_order_payload_to_ursula(work_order)