Skip to content

Commit 0f83065

Browse files
committed
chore(discovery3): Apply manual changes
1 parent e766c6a commit 0f83065

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/IBM.WatsonDeveloperCloud.Discovery.v1/DiscoveryService.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,8 +1592,10 @@ public QueryResponse FederatedQuery(string environmentId, List<string> collectio
15921592
{
15931593
if (string.IsNullOrEmpty(environmentId))
15941594
throw new ArgumentNullException(nameof(environmentId));
1595+
if (collectionIds == null)
1596+
throw new ArgumentNullException(nameof(collectionIds));
15951597

1596-
if(string.IsNullOrEmpty(VersionDate))
1598+
if (string.IsNullOrEmpty(VersionDate))
15971599
throw new ArgumentNullException("versionDate cannot be null.");
15981600

15991601
QueryResponse result = null;

0 commit comments

Comments
 (0)