Lol oops
This commit is contained in:
parent
04c578aa82
commit
d2b7309a6d
@ -46,7 +46,7 @@ export async function loader({ context }: { context: RequestContext }) {
|
||||
const settledPromises = await Promise.allSettled(d1Promises);
|
||||
|
||||
return {
|
||||
items: settledPromises.filter((p) => {
|
||||
items: settledPromises.map((p) => {
|
||||
if (p.status === "fulfilled") return p.value.results;
|
||||
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user