generated from VLADIMIR/template
fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user