ReadOnlySigner: improve error message

This commit is contained in:
Alex Gleason 2024-05-29 16:16:17 -05:00
parent 7221b5f203
commit 625b9a3ae5
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export class ReadOnlySigner implements NostrSigner {
async signEvent(): Promise<NostrEvent> { async signEvent(): Promise<NostrEvent> {
throw new HTTPException(401, { throw new HTTPException(401, {
message: "Can't sign events with just an npub", message: 'Log out and back in',
}); });
} }