Skip to content

Commit

Permalink
Refund payment should also be covered by the account-edit-financials-…
Browse files Browse the repository at this point in the history
…requests role.
  • Loading branch information
slavcho committed Jan 16, 2024
1 parent 0f1135e commit fdd1a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/donations/donations.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class DonationsController {

@Post('/refund-stripe-payment/:id')
@Roles({
roles: [RealmViewSupporters.role, ViewSupporters.role],
roles: [EditFinancialsRequests.role],
mode: RoleMatchingMode.ANY,
})
refundStripePaymet(@Param('id') paymentIntentId: string) {
Expand Down

0 comments on commit fdd1a8e

Please sign in to comment.