Testing in progress ;)

This commit is contained in:
Frank Schwenk
2026-06-09 21:43:29 +02:00
parent 5b7706bd6b
commit 66fa24872d
2 changed files with 18 additions and 6 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ async def get_roast_of_the_day(db: aiosqlite.Connection, tz: ZoneInfo) -> dict[s
source = "fallback"
else:
source = "ai"
await _set_cache(db, key, text)
await _set_cache(db, key, text)
return {"text": text, "source": source, "day": day}
@@ -98,6 +98,6 @@ async def get_oracle(db: aiosqlite.Connection, tz: ZoneInfo) -> dict[str, Any]:
source = "fallback"
else:
source = "ai"
await _set_cache(db, key, text)
await _set_cache(db, key, text)
return {"text": text, "source": source, "week": week}