ReadOnlySigner: improve error message
This commit is contained in:
parent
7221b5f203
commit
625b9a3ae5
|
@ -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',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue