update as in the grain bag api

This commit is contained in:
csawatzky 2025-04-21 13:58:37 -06:00
parent 9b9f4cdf63
commit 1acbfe36b0
9 changed files with 42 additions and 33 deletions

View file

@ -104,7 +104,7 @@ export default function ContractTransactionTable(props: Props) {
});
break;
case pond.ObjectType.OBJECT_TYPE_GRAIN_BAG:
bagAPI.getGrainBag(transaction.transaction.fromKey).then(resp => {
bagAPI.getGrainBag(transaction.transaction.fromKey, as).then(resp => {
if (resp.data.grainBag) {
let bag = GrainBag.create(resp.data.grainBag);
setTransactionSource(bag);