update as in the transaction api

This commit is contained in:
csawatzky 2025-04-21 15:10:18 -06:00
parent ae458c3fca
commit 4912d319ff
4 changed files with 21 additions and 15 deletions

View file

@ -144,7 +144,7 @@ export default function ContractTransactionTable(props: Props) {
//use the transaction api to revoke the transaction
//--moved all the functionality for adjusting the objects involved to the backend so this can be handled with a single call--
transactionAPI
.revokeTransaction(activeTransaction.transaction.key)
.revokeTransaction(activeTransaction.transaction.key, as)
.then(resp => {
openSnack("Transaction revoked and inventory moved back");
transactionRevokedCallback(activeTransaction.transaction.key);