updated the bin yard api with as fix

This commit is contained in:
csawatzky 2025-04-17 14:35:24 -06:00
parent e2f5eb0557
commit 76744c1b6f
5 changed files with 26 additions and 22 deletions

View file

@ -344,7 +344,7 @@ export default function BinSettings(props: Props) {
setBinYardOptions(y);
} else {
binYardAPI
.listBinYards(350, 0, "desc", as ? as : userID)
.listBinYards(350, 0, "desc", as ? as : userID, undefined, undefined, undefined, as)
.then(resp => {
let data = resp.data.yard ? resp.data.yard : [];
let yards: Option[] = data.map((yard: pond.BinYard) => {