u
This commit is contained in:
		| @@ -35,9 +35,5 @@ func (a *ExternalGames) Query(ctx context.Context, query string) ([]*pb.External | ||||
| 		return nil, fmt.Errorf("failed to unmarshal: %w", err) | ||||
| 	} | ||||
|  | ||||
| 	if len(data.Externalgames) == 0 { | ||||
| 		return nil, fmt.Errorf("no results: %s", query) | ||||
| 	} | ||||
|  | ||||
| 	return data.Externalgames, nil | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user