Fix NormalChannelData deserialization
This commit is contained in:
parent
b57c74eeb6
commit
b1e922a0fd
@ -78,7 +78,7 @@ class NormalChannelData(Channel, ChannelData[NormalChannelInfo]):
|
||||
@classmethod
|
||||
def deserialize(cls, data: JSON) -> "NormalChannelData":
|
||||
data["info"] = NormalChannelInfo.deserialize(data["info"])
|
||||
return cls.deserialize(data)
|
||||
return super().deserialize(data)
|
||||
|
||||
|
||||
__all__ = [
|
||||
|
@ -50,6 +50,7 @@ class LoginResult(SerializableAttrs):
|
||||
revision: int
|
||||
revisionInfo: str
|
||||
minLogId: Long
|
||||
# TODO Consider catching SerializerError for channelList entries
|
||||
|
||||
|
||||
__all__ = [
|
||||
|
Loading…
Reference in New Issue
Block a user