diff --git a/pages/api/cron/freshPOAP.ts b/pages/api/cron/freshPOAP.ts index 4322982..168f2f4 100644 --- a/pages/api/cron/freshPOAP.ts +++ b/pages/api/cron/freshPOAP.ts @@ -46,7 +46,7 @@ export default async function handler(req, res) { const uniqueAddresses: string[] = Array.from(new Set(poaps.map((poap: any) => poap.collector_address))); console.info('Unique addresses:', uniqueAddresses); for (const address of uniqueAddresses) { - await fetch(`/api/poap/v/${address}`, { method: 'GET' }); + await fetch(`https://og.poap.in/api/poap/v/${address}`, { method: 'GET' }); } await kvClient.set('lastUpdateTimestampOfPOAP', currentTimestamp);