From b8ff6070f79af8b2c0207c02f1f9642da37f9531 Mon Sep 17 00:00:00 2001 From: cwilvx Date: Wed, 29 Jan 2025 14:36:19 +0300 Subject: [PATCH] fix mix page --- app/models/mix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/mix.py b/app/models/mix.py index ab0a700b..d39d1f02 100644 --- a/app/models/mix.py +++ b/app/models/mix.py @@ -46,6 +46,7 @@ class Mix: def to_dict(self, convert_timestamp: bool = False): item = asdict(self) item["trackshash"] = create_hash(*self.tracks[:40]) + item["type"] = "mix" if convert_timestamp: item["time"] = timestamp_to_time_passed(item["timestamp"])