This commit is contained in:
boufni95 2024-07-25 17:12:37 +02:00
parent ef254b0b47
commit 4f76ad3d95

View file

@ -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")
}