Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KiPSOFT committed Feb 16, 2023
1 parent 0e7a5be commit 786e98c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/lib/nostr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default class NostrCheck extends Nostr {
const since = this.getHoursAgo(48);
const filter = { kinds: [1], since, '#p': [Deno.env.get('PUBLIC_KEY')] };
const events = await this.filter(filter).collect();
console.log('Events ...', events);
for (const evnt of events) {
const usr = await this.db.checkUser(evnt.pubkey);
if (usr && evnt.content === 'Please approve my NIP-05 request on https://nip05.nostprotocol.net #[0]') {
Expand Down

0 comments on commit 786e98c

Please sign in to comment.