mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
fixed cachig to store more than 100
This commit is contained in:
parent
54033625f8
commit
94217e8c74
1 changed files with 12 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue