fix: event.pubkey, not event.id in p tag

This commit is contained in:
P. Reis 2025-02-27 19:15:33 -03:00
parent e6f4f8d23e
commit 4792e568ef

View file

@ -63,7 +63,7 @@ Deno.test('Admin revokes nip05 grant and nip05 column gets null', async () => {
created_at: nostrNow(), created_at: nostrNow(),
tags: [ tags: [
['k', '30360'], ['k', '30360'],
['p', event.id], // NOTE: this is not in the NIP-09 spec ['p', event.pubkey], // NOTE: this is not in the NIP-09 spec
], ],
content: '', content: '',
}); });