diff --git a/shvatka/api/models/responses.py b/shvatka/api/models/responses.py index 6fe97975..86cd8637 100644 --- a/shvatka/api/models/responses.py +++ b/shvatka/api/models/responses.py @@ -5,13 +5,17 @@ from adaptix import Retort, dumper +from shvatka.common.factory import REQUIRED_GAME_RECIPES from shvatka.core.games.dto import CurrentHints from shvatka.core.models import dto, enums from shvatka.core.models.dto import scn from shvatka.core.models.enums import GameStatus T = typing.TypeVar("T") -retort = Retort(recipe=[dumper(scn.HintsList, lambda x: x.hints)]) +retort = Retort(recipe=[ + *REQUIRED_GAME_RECIPES, + dumper(scn.HintsList, lambda x: x.hints) +]) @dataclass