WIP: PDS Admin tool to hopefully make it easier to moderate your PDS
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

small changes

+2 -2
+1 -1
src/handlers/handleNewLabel.ts
··· 97 97 if (labelConfig.action === "notify") { 98 98 //TODO need to prob move this to a queue cause backfill can hit rate limit 99 99 await sendLabelNotification(pdsConfig.notifyEmails, { 100 - did: label.uri,¡¡ 100 + did: label.uri, 101 101 pds: pdsConfig.host, 102 102 label: label.val, 103 103 labeler: config.host,
+1 -1
src/mailer.ts
··· 24 24 await transporter.sendMail({ 25 25 from: senderEmail, 26 26 to: emails.join(", "), 27 - subject: `Label "${label}" ${negated ? "negated" : "applied"} — ${did}`, 27 + subject: `Label "${label}" ${negated ? "negated" : "applied"} — ${did} - ${pds}`, 28 28 text: [ 29 29 `A label event was detected.`, 30 30 ``,