add cancelReason

This commit is contained in:
Anatoly Karlov 2024-08-29 00:29:05 +07:00
parent 92f0755021
commit 02ecf76e03
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
<dependency>
<groupId>dev.vality</groupId>
<artifactId>provider-disputes-proto</artifactId>
<version>1.9-bd07d18</version>
<version>1.10-a4fa166</version>
</dependency>
<dependency>
<groupId>dev.vality</groupId>

View File

@ -16,7 +16,7 @@ public class AdminDisputesHandler implements AdminDisputesServiceSrv.Iface {
private final DisputesService disputesService;
@Override
public void cancelPending(String disputeId) throws TException {
disputesService.cancelPendingDispute(disputeId, null);
public void cancelPending(String disputeId, String cancelReason) throws TException {
disputesService.cancelPendingDispute(disputeId, cancelReason);
}
}