channel.uid

This commit is contained in:
Marc Beninca 2024-09-23 14:35:16 +02:00
parent 2a01ef0066
commit 6ece695be4
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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}"\
}}\
"""