nostr-rs-relay icon indicating copy to clipboard operation
nostr-rs-relay copied to clipboard

Fix id based sqlite query

Open dcadenas opened this issue 6 months ago • 0 comments

Currently, ID-based queries in SQLite are failing. For example, the command:

nak req -i $(nak req -k 1 -l 1 wss://nostr.8777.ch | jq -r '.id') wss://nostr.8777.ch

returns nothing.

This small PR addresses the issue by encoding the ID as a hex value in the same manner as it's done for authors.

Thank you for maintaining this project, and feel free to adjust this as needed!

dcadenas avatar Jul 29 '24 15:07 dcadenas