Skip to content

Commit

Permalink
fix: new check changes
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvdixit88 committed Nov 28, 2024
1 parent f5365b1 commit 998f369
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/router/src/core/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,10 @@ async fn handle_existing_user_invitation(
.global_store
.list_user_roles_by_user_id(ListUserRolesByUserIdPayload {
user_id: invitee_user_from_db.get_user_id(),
tenant_id: user_from_token
.tenant_id
.as_ref()
.unwrap_or(&state.tenant.tenant_id),
org_id,
merchant_id,
profile_id,
Expand Down

0 comments on commit 998f369

Please sign in to comment.