Skip to content

Commit

Permalink
stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
rmnoon committed Jun 21, 2022
1 parent 7d772f6 commit 3572645
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/_acks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export async function checkForReminders() {
}

async function saveReminder(channel: string, ts: string): Promise<void> {
console.log('saving reminder: ', { channel, ts });
await redis.zadd(REDIS_ACK_KEY, { score: new Date().getTime(), member: `${channel}:${ts}` });
console.log('reminder saved: ', { channel, ts });
}

export async function checkMessageAcks(channel: string, ts: string): Promise<{ isComplete: boolean }> {
Expand Down

1 comment on commit 3572645

@vercel
Copy link

@vercel vercel bot commented on 3572645 Jun 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ackbot – ./

ackbot-git-main-rmnoon.vercel.app
ackbot.vercel.app
ackbot-rmnoon.vercel.app

Please sign in to comment.