From 64fd072f2f58b8515855fbf611bb48883f1987c2 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 5 May 2023 11:10:01 +0100 Subject: [PATCH] Fix error in releasing when dummy mode is on --- core/clients/platforms/agora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/clients/platforms/agora.py b/core/clients/platforms/agora.py index 3e4596f..a6439fe 100644 --- a/core/clients/platforms/agora.py +++ b/core/clients/platforms/agora.py @@ -24,7 +24,7 @@ class AgoraClient(LocalPlatformClient, BaseClient): print("CALLING RELEASE FUNDS", contact_id) if self.instance.dummy: log.error(f"Running in dummy mode, not releasing funds for {contact_id}") - return + return {"message": "OK"} # Pretend to succeed rtrn = await self.api.contact_release( contact_id,