Merge pull request #135 from Hestia-Homes/main

fixed caching to store more than 100
This commit is contained in:
KhalimCK 2025-11-13 19:23:39 +00:00 committed by GitHub
commit c7867f587b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,5 +144,16 @@ export async function lookupOsPlaces(
}
}
return { status: 200, data: first.data, results: allResults };
return {
status: 200,
data: {
...first.data,
header: {
...(first.data.header ?? {}),
totalresults: allResults.length,
},
results: allResults,
},
results: allResults,
};
}