mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 08:38:50 +00:00
fix count request in anstract relay
This commit is contained in:
@@ -259,7 +259,7 @@ export class AbstractRelay {
|
|||||||
const ret = new Promise<number>((resolve, reject) => {
|
const ret = new Promise<number>((resolve, reject) => {
|
||||||
this.openCountRequests.set(id, { resolve, reject })
|
this.openCountRequests.set(id, { resolve, reject })
|
||||||
})
|
})
|
||||||
this.send('["COUNT","' + id + '",' + JSON.stringify(filters) + ']')
|
this.send('["COUNT","' + id + '",' + JSON.stringify(filters).substring(1))
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user