Skip to content

Commit

Permalink
Update api url
Browse files Browse the repository at this point in the history
  • Loading branch information
RockerFlower committed May 13, 2024
1 parent 3d07b66 commit 7dd8f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/cron/freshPOAP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7dd8f01

Please sign in to comment.