fix: bulk transaction action
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
004dfc9de5
commit
cc71814648
|
@ -99,6 +99,7 @@ export class TransactionDataOrchestrator {
|
||||||
return this.batchCancelManager.getResult();
|
return this.batchCancelManager.getResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Confirm from draft to pending
|
||||||
async confirm(dataId): Promise<string> {
|
async confirm(dataId): Promise<string> {
|
||||||
this.confirmManager.setData(dataId, STATUS.ACTIVE);
|
this.confirmManager.setData(dataId, STATUS.ACTIVE);
|
||||||
this.confirmManager.setService(
|
this.confirmManager.setService(
|
||||||
|
@ -111,7 +112,7 @@ export class TransactionDataOrchestrator {
|
||||||
}
|
}
|
||||||
|
|
||||||
async batchConfirm(dataIds: string[]): Promise<BatchResult> {
|
async batchConfirm(dataIds: string[]): Promise<BatchResult> {
|
||||||
this.batchConfirmManager.setData(dataIds, STATUS.ACTIVE);
|
this.batchConfirmManager.setData(dataIds, STATUS.PENDING);
|
||||||
this.batchConfirmManager.setService(
|
this.batchConfirmManager.setService(
|
||||||
this.serviceData,
|
this.serviceData,
|
||||||
TABLE_NAME.TRANSACTION,
|
TABLE_NAME.TRANSACTION,
|
||||||
|
|
Loading…
Reference in New Issue