Correct channel_id from balance - Will be used on points-spent #103

This commit is contained in:
Alessandro Maggio
2021-03-05 11:17:22 +01:00
parent 5d7478e027
commit 4b0b2f1ab7

View File

@@ -58,7 +58,11 @@ class Message(object):
else (
self.data["channel_id"]
if "channel_id" in self.data
else self.topic_user
else (
self.data["balance"]["channel_id"]
if "balance" in self.data
else self.topic_user
)
)
)
)