Fix relay list tag
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Kieran 2023-06-26 12:57:53 +01:00
parent e2a5f3ebd1
commit 9f8095b0df
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -262,7 +262,9 @@ export class EventPublisher {
if (rx.settings.write && !rx.settings.read) {
rTag.push("write");
}
eb.tag(rTag);
if (rx.settings.read || rx.settings.write) {
eb.tag(rTag);
}
}
return await this.#sign(eb);
}