chore: lint
This commit is contained in:
parent
041bd0daff
commit
413c9cc575
@ -8,6 +8,7 @@
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"lint:fix": "eslint . --fix --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -370,7 +370,7 @@ createNostrHttpAuthToken = async (
|
||||
): Promise<string> => {
|
||||
const createdAt = Math.round(Date.now() / 1000)
|
||||
|
||||
let authEvent = new NDKEvent(undefined)
|
||||
const authEvent = new NDKEvent(undefined)
|
||||
authEvent.kind = 27235
|
||||
authEvent.tags = nostrTags
|
||||
authEvent.content = `sigit-${createdAt}`
|
||||
|
Loading…
Reference in New Issue
Block a user