Commit 04e2a3e0 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[application/boobank] give account object to iter_transfer_recipient

boobank already do iter_account, avoid to redo iter_account in iter_transfer_recipient
parent e07a459a
......@@ -623,7 +623,7 @@ class Boobank(CaptchaMixin, ReplApplication):
self.objects = []
self.start_format()
for recipient in self.do('iter_transfer_recipients', account.id, backends=account.backend, caps=CapBankTransfer):
for recipient in self.do('iter_transfer_recipients', account, backends=account.backend, caps=CapBankTransfer):
self.cached_format(recipient)
@contextmanager
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment