chore: lint

This commit is contained in:
Davinci 2024-05-13 08:02:35 +02:00
parent 041bd0daff
commit 413c9cc575
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "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" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {

View File

@ -370,7 +370,7 @@ createNostrHttpAuthToken = async (
): Promise<string> => { ): Promise<string> => {
const createdAt = Math.round(Date.now() / 1000) const createdAt = Math.round(Date.now() / 1000)
let authEvent = new NDKEvent(undefined) const authEvent = new NDKEvent(undefined)
authEvent.kind = 27235 authEvent.kind = 27235
authEvent.tags = nostrTags authEvent.tags = nostrTags
authEvent.content = `sigit-${createdAt}` authEvent.content = `sigit-${createdAt}`