Skip to content

Commit

Permalink
Fix the wrong permission dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlcf88 committed Nov 4, 2023
1 parent 6a62f64 commit b4a4dcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>2.9.0</Version>
<Version>2.9.1</Version>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>EasyAbp Team</Authors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public virtual async Task<PaymentDto> CancelAsync(Guid id)
return await MapToGetOutputDtoAsync(payment);
}

[Authorize(PaymentServicePermissions.Payments.Manage.Cancel)]
[Authorize(PaymentServicePermissions.Payments.Manage.RollbackRefund)]
public async Task<PaymentDto> RefundRollbackAsync(Guid id)
{
var payment = await _repository.GetAsync(id);
Expand Down

0 comments on commit b4a4dcd

Please sign in to comment.