Fix error in releasing when dummy mode is on
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user