Browse Source

add block mechanism

main
matthew 2 years ago
parent
commit
5a82f67692
  1. 2
      searching-front/app/stateSites/queries/getLastWeekNewSites.ts

2
searching-front/app/stateSites/queries/getLastWeekNewSites.ts

@ -5,7 +5,7 @@ export default async function getLastWeekNewSites() {
const lastWeekNewSites = await db.nftDomain.findMany({ const lastWeekNewSites = await db.nftDomain.findMany({
orderBy: { firstAvailableDate: "desc" }, orderBy: { firstAvailableDate: "desc" },
take: 10, take: 10,
where: { available: true }, where: { available: true, blocked: false },
}) })
return { return {

Loading…
Cancel
Save