Fix error in releasing when dummy mode is on
This commit is contained in:
parent
27634ef26a
commit
64fd072f2f
|
@ -24,7 +24,7 @@ class AgoraClient(LocalPlatformClient, BaseClient):
|
||||||
print("CALLING RELEASE FUNDS", contact_id)
|
print("CALLING RELEASE FUNDS", contact_id)
|
||||||
if self.instance.dummy:
|
if self.instance.dummy:
|
||||||
log.error(f"Running in dummy mode, not releasing funds for {contact_id}")
|
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(
|
rtrn = await self.api.contact_release(
|
||||||
contact_id,
|
contact_id,
|
||||||
|
|
Loading…
Reference in New Issue