fix naddr loading

This commit is contained in:
2023-06-17 22:07:17 +01:00
parent fa823afa33
commit 206aaca7b4
5 changed files with 42 additions and 30 deletions

View File

@ -46,6 +46,7 @@ export interface ReqFilter {
"#t"?: string[];
"#d"?: string[];
"#r"?: string[];
"#a"?: string[];
search?: string;
since?: number;
until?: number;

View File

@ -204,7 +204,7 @@ export class RequestFilterBuilder {
return this;
}
tag(key: "e" | "p" | "d" | "t" | "r", value?: Array<string>) {
tag(key: "e" | "p" | "d" | "t" | "r" | "a", value?: Array<string>) {
if (!value) return this;
this.#filter[`#${key}`] = appendDedupe(this.#filter[`#${key}`], value);
return this;