mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
ReadOnlySigner: improve error message
This commit is contained in:
parent
7221b5f203
commit
625b9a3ae5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue