Fix bug in active client to_dict if there's no active_token
All checks were successful
release-image / release-image (push) Successful in 2m4s
All checks were successful
release-image / release-image (push) Successful in 2m4s
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user