mirror of
https://github.com/kind-0/nsecbunkerd.git
synced 2026-08-01 07:21:42 +00:00
feat: Add key_npub to admin token response and update .gitignore
- Include `key_npub` field in token response for admin methods. - Update `.gitignore` to ignore `/claude/` and `/idea/` directories.
This commit is contained in:
parent
539106c4f1
commit
7ed4835bda
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,3 +9,5 @@ config
|
||||
.env
|
||||
.turbo
|
||||
prisma
|
||||
/.claude/
|
||||
/.idea/
|
||||
|
||||
@ -227,6 +227,7 @@ class AdminInterface {
|
||||
return {
|
||||
id: t.id,
|
||||
key_name: t.keyName,
|
||||
key_npub: npub,
|
||||
client_name: t.clientName,
|
||||
token: [ npub, t.token ].join('#'),
|
||||
policy_id: t.policyId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user