Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Feb 1, 2025
1 parent 2ece24a commit 117dbce
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/app/harbor/shop/shop-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,33 +109,5 @@ export async function getShop(): Promise<ShopItem[]> {
)
})

//
// return new Promise((resolve, reject) => {
// base()("shop").select({
// // filterByFormula: `SEARCH('${personId}', {entrant})`,
// // view: "Grid view",
// });

// .eachPage(
// (records, fetchNextPage) => {
// records.forEach((record) => {
// const entrant = record.get("entrant") as string[];
// if (entrant && entrant.includes(personId)) {
// ships.push({
// id: record.get("id") as string,
// title: record.get("title") as string,
// repoUrl: record.get("repo_url") as string,
// readmeUrl: record.get("readme_url") as string,
// screenshotUrl: record.get("screenshot_url") as string,
// rating: record.get("rating") as number,
// hours: record.get("hours") as number,
// });
// }
// });
// fetchNextPage();
// },
// (err) => (err ? reject(err) : resolve(ships)),
// );
// });
return await cached('shop_items.' + filter, async () => await lookup, 10 * 60)
}

0 comments on commit 117dbce

Please sign in to comment.