fix vuln
This commit is contained in:
parent
ef254b0b47
commit
4f76ad3d95
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ export default class {
|
|||
const copy = { ...entry }
|
||||
const deleted = this.nPubLinkingTokens.delete(req.token)
|
||||
if (deleted) {
|
||||
await this.storage.applicationStorage.AddNPubToApplicationUser(copy.serialId, req.nostr_pub)
|
||||
await this.storage.applicationStorage.AddNPubToApplicationUser(copy.serialId, ctx.pub)
|
||||
} else {
|
||||
throw new Error("An uknown error occured")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue