mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
feat(core): introduce accounts schema for accounts related tables (#7113)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -100,7 +100,7 @@ fn validate_tenant(state: &SessionState, tenant_id: &id_type::TenantId) -> UserR
|
||||
|
||||
async fn validate_org(state: &SessionState, org_id: &id_type::OrganizationId) -> UserResult<()> {
|
||||
state
|
||||
.store
|
||||
.accounts_store
|
||||
.find_organization_by_org_id(org_id)
|
||||
.await
|
||||
.to_not_found_response(UserErrors::InvalidThemeLineage("org_id".to_string()))
|
||||
|
||||
Reference in New Issue
Block a user