Lol oops
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user