Update participants

This commit is contained in:
Dennis Reimann
2025-01-18 14:13:32 +01:00
parent 938a2ce9d6
commit f4bb3bd737
60 changed files with 116 additions and 68 deletions

View File

@@ -1,7 +1,7 @@
const { mkdirSync, writeFileSync } = require('fs')
const { dirname, resolve } = require('path')
const { NDKUser } = require('@nostr-dev-kit/ndk')
const team = require('../content/team.json')
const participants = require('../content/participants.json')
const { npub } = require('../content/meta.json')
const einundzwanzig = new NDKUser({ npub: npub.einundzwanzig })
@@ -19,7 +19,7 @@ const relays = {
]
}
Object.entries(team).forEach(([key, { nostr: npub }]) => {
Object.entries(participants).forEach(([key, { nostr: npub }]) => {
if (!npub) return
const id = key.replace(/[\s]/g, '_')
names[id] = new NDKUser({ npub }).pubkey