hotfix
Build and Publish / Build and Publish Docker Image (push) Successful in 5m51s

This commit is contained in:
Ultradesu
2026-07-28 00:01:36 +01:00
parent 122214a896
commit dc1fac1a94
+1 -1
View File
@@ -1269,7 +1269,7 @@ async fn me_handler(
.map_err(|e| cot::Error::internal(e.to_string()))?;
let listened_seconds: Option<i64> = sqlx::query_scalar(
"SELECT COALESCE(SUM(listened_ms), 0) / 1000
"SELECT (COALESCE(SUM(listened_ms), 0) / 1000)::bigint
FROM furumusic__listen_event
WHERE user_id = $1 AND qualified = true",
)