db improvments
Local Docker Build (Dev) / build-dev (push) Successful in 4s

This commit is contained in:
2025-10-17 21:18:37 -04:00
parent d552d97440
commit 95945f7189
2 changed files with 26 additions and 9 deletions
+5 -1
View File
@@ -204,7 +204,11 @@ async def get_series_sources(dependencies: dict):
ORDER BY source
""")
sources = [row[0] for row in cursor.fetchall()]
rows = cursor.fetchall()
if db.db_type == "postgresql":
sources = [list(row.values())[0] for row in rows]
else:
sources = [row[0] for row in rows]
return {"sources": sources}