Skip to content

Commit

Permalink
Rechange the permission to MerchantPaymentRead
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket Burman authored and Aniket Burman committed Feb 10, 2025
1 parent 0437598 commit 3cdd418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/routes/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ pub async fn get_payments_aggregates(
payments::get_aggregates_for_payments(state, auth.merchant_account, None, req)
},
&auth::JWTAuth {
permission: Permission::ProfilePaymentRead,
permission: Permission::MerchantPaymentRead,
},
api_locking::LockAction::NotApplicable,
))
Expand Down

0 comments on commit 3cdd418

Please sign in to comment.