Fix pet sorting

This commit is contained in:
augmentedpotato
2026-04-02 09:11:53 -06:00
parent 781eb48ca9
commit 99855a6e99
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ function AppointmentsPage() {
.then((data) => setServices(data.content ?? []))
.catch(() => {});
fetch(`${API_BASE}/api/v1/pets?size=200&sort=petId,asc`)
fetch(`${API_BASE}/api/v1/pets?size=200&sort=id,asc&status=Available`)
.then((r) => r.json())
.then((data) => setAllPets(data.content ?? []))
.catch(() => {});