channel.uid
This commit is contained in:
parent
2a01ef0066
commit
6ece695be4
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class Channel(Class):
|
|||
:param name: label
|
||||
:type name: str
|
||||
"""
|
||||
self.id = uid
|
||||
self.uid = uid
|
||||
self.name = name
|
||||
|
||||
def to_db(self) -> str:
|
||||
|
@ -24,6 +24,6 @@ class Channel(Class):
|
|||
"""
|
||||
return f"""\
|
||||
{{\
|
||||
"id":"{self.id}"\
|
||||
"id":"{self.uid}"\
|
||||
}}\
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue