Fix wordle code

This commit is contained in:
stijndcl 2022-08-29 20:49:29 +02:00
parent 8a4baf6bb8
commit 73d44de46e
11 changed files with 58 additions and 48 deletions

View file

@ -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: