Skip to content

fix(payments): make BankListView sync to avoid SynchronousOnlyOperation#97

Merged
musale merged 1 commit into
mainfrom
feat/subaccounts
May 26, 2026
Merged

fix(payments): make BankListView sync to avoid SynchronousOnlyOperation#97
musale merged 1 commit into
mainfrom
feat/subaccounts

Conversation

@musale

@musale musale commented May 26, 2026

Copy link
Copy Markdown
Contributor

AdminRequiredMixin performs sync DB ops (session lookup, auth check). An async view triggers Django's SynchronousOnlyOperation error. Changed to sync view calling _make_paystack_request directly (already sync).

AdminRequiredMixin performs sync DB ops (session lookup, auth check).
An async view triggers Django's SynchronousOnlyOperation error. Changed
to sync view calling _make_paystack_request directly (already sync).
@musale musale merged commit bcb7e86 into main May 26, 2026
1 check passed
@musale musale deleted the feat/subaccounts branch May 26, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant