fix: follow by tab

This commit is contained in:
2025-04-30 18:51:17 +01:00
parent d30aca46e8
commit fe4e17227e
4 changed files with 6 additions and 6 deletions

View File

@ -55,7 +55,7 @@ export class NostrLink implements ToNostrEventTag {
readonly marker?: string,
) {
if (type !== NostrPrefix.Address && !isHex(id)) {
throw new Error("ID must be hex");
throw new Error(`ID must be hex: ${JSON.stringify(id)}`);
}
}