Fix iterator type

This commit is contained in:
Nicolas Mowen 2025-08-08 08:35:24 -06:00
parent 876154ff7c
commit 9009ad3f00

View File

@ -70,7 +70,7 @@ class WebPushClient(Communicator):
# Pull keys from PEM or generate if they do not exist
self.vapid = Vapid01.from_file(os.path.join(CONFIG_DIR, "notifications.pem"))
users: list[User] = (
users: list[dict[str, Any]] = (
User.select(User.username, User.notification_tokens).dicts().iterator()
)
for user in users: