mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 08:38:50 +00:00
nip96: type fix.
This commit is contained in:
2
nip96.ts
2
nip96.ts
@@ -242,7 +242,7 @@ export async function readServerConfig(serverUrl: string): Promise<ServerConfigu
|
||||
throw new Error(`Error fetching ${fetchUrl}: ${response.statusText}`)
|
||||
}
|
||||
|
||||
const data = await response.json()
|
||||
const data: any = await response.json()
|
||||
|
||||
if (!data) {
|
||||
throw new Error('No data')
|
||||
|
||||
Reference in New Issue
Block a user