mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 23:55:46 +02:00
Fix wordle code
This commit is contained in:
parent
8a4baf6bb8
commit
73d44de46e
11 changed files with 58 additions and 48 deletions
|
|
@ -121,7 +121,7 @@ class WordleCache(DatabaseCache):
|
|||
async def invalidate(self, database_session: AsyncSession):
|
||||
word = await wordle.get_daily_word(database_session)
|
||||
if word is not None:
|
||||
self.data = [word]
|
||||
self.data = [word.word]
|
||||
|
||||
|
||||
class CacheManager:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue