Fix error in releasing when dummy mode is on

This commit is contained in:
Mark Veidemanis 2023-05-05 11:10:01 +01:00
parent 27634ef26a
commit 64fd072f2f
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -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,