problem: users can't provide email address or npub for notifications

This commit is contained in:
Bob
2024-08-05 22:13:56 +08:00
parent 61c92015ac
commit 31005a9473
5 changed files with 125 additions and 23 deletions

View File

@@ -25,7 +25,6 @@
}
prepareMeritVoteEvent({
ndk,
author,
rocket,
merit,
direction
@@ -35,10 +34,9 @@
console.log(x);
});
if (direction === 'ratify') {
let content = `I've voted to ratify your merit request! ${merit.Problem()} \n\n ${merit.Solution()?merit.Solution():""}`;
let content = `I've voted to ratify your merit request! ${merit.Problem()} \n\n ${merit.Solution() ? merit.Solution() : ''}`;
prepareMeritNoteEvent({
ndk,
author,
merit,
content
})