This commit is contained in:
2026-09-13 13:41:09 +07:00
parent 19253dc6d4
commit f33601d4c1
3 changed files with 62 additions and 0 deletions
@@ -258,6 +258,9 @@ func (s *GameService) GetTeamActions(ctx context.Context, teamId int, password s
if err != nil {
return nil, nil, nil, err
}
if game.Status == "finish" {
return &storytelling.Story{}, mapGame(game, s.domain), nil, nil
}
actions, err := s.actionsRepo.GetActionsByTeamID(ctx, teamId)
if err != nil {