fix: 🐛
This commit is contained in:
parent
9b9ecf76d6
commit
485ca82e30
3 changed files with 13 additions and 16 deletions
|
|
@ -202,7 +202,7 @@ class IndexedDbService {
|
|||
): Promise<Event | undefined | null> {
|
||||
const storeName = this.getStoreNameByKind(kind)
|
||||
if (!storeName) {
|
||||
return Promise.reject('store name not found')
|
||||
return undefined
|
||||
}
|
||||
await this.initPromise
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ class RelayInfoService {
|
|||
|
||||
private async fetchRelayNip11(url: string) {
|
||||
try {
|
||||
console.log('Fetching NIP-11 for', url)
|
||||
const res = await fetch(url.replace('ws://', 'http://').replace('wss://', 'https://'), {
|
||||
headers: { Accept: 'application/nostr+json' }
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue