From 2b838abe3febf09407025e7324a3744e9dd524ae Mon Sep 17 00:00:00 2001
From: callebtc <93376500+callebtc@users.noreply.github.com>
Date: Wed, 15 Mar 2023 11:59:31 +0100
Subject: [PATCH] quick fix
---
services.py | 4 ++--
templates/nostrclient/index.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/services.py b/services.py
index fa548bf..f584146 100644
--- a/services.py
+++ b/services.py
@@ -102,9 +102,9 @@ class NostrRouter:
for filter in filters:
filter_list.append(
NostrFilter(
- event_ids=filter.ids, # type: ignore
+ event_ids=filter.ids or [],
kinds=filter.kinds, # type: ignore
- authors=filter.authors, # type: ignore
+ authors=filter.authors or [],
since=filter.since, # type: ignore
until=filter.until, # type: ignore
event_refs=filter.e, # type: ignore
diff --git a/templates/nostrclient/index.html b/templates/nostrclient/index.html
index 9130a6b..8ddd362 100644
--- a/templates/nostrclient/index.html
+++ b/templates/nostrclient/index.html
@@ -79,7 +79,7 @@
-