diff --git a/app/internal/types.py b/app/internal/types.py index c495d1d..3312e0d 100644 --- a/app/internal/types.py +++ b/app/internal/types.py @@ -206,7 +206,7 @@ class ActiveClient: return { "client_id": self.client_id, "nickname": self.nickname, - "active_token": self.active_token.to_dict() + "active_token": self.active_token.to_dict() if self.active_token else None } def __str__(self):