mirror of
https://github.com/valitydev/disputes-api.git
synced 2024-11-06 00:55:23 +00:00
add cancelReason
This commit is contained in:
parent
92f0755021
commit
02ecf76e03
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user