debug ndebit create
This commit is contained in:
parent
1cbeb951bb
commit
f8e48411c0
1 changed files with 4 additions and 0 deletions
|
|
@ -151,6 +151,10 @@ export default class {
|
||||||
if (created) log(u.identifier, u.user.user_id, "user created")
|
if (created) log(u.identifier, u.user.user_id, "user created")
|
||||||
}
|
}
|
||||||
const nostrSettings = this.settings.nostrRelaySettings
|
const nostrSettings = this.settings.nostrRelaySettings
|
||||||
|
|
||||||
|
const ndebitString = ndebitEncode({ pubkey: app.nostr_public_key!, pointer: u.identifier, relay: nostrSettings.relays[0] })
|
||||||
|
log("🔗 [DEBUG] Generated ndebit for user", { userId: u.user.user_id, ndebit: ndebitString })
|
||||||
|
|
||||||
return {
|
return {
|
||||||
identifier: u.identifier,
|
identifier: u.identifier,
|
||||||
info: {
|
info: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue