Skip to content

Commit

Permalink
Don't throw. Keep with current pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSimmons committed Mar 30, 2024
1 parent 9f96e36 commit 61d5171
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions GettyImages.Api/AiGenerator/GetGeneratedImages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ internal static GetGeneratedImages GetInstance(Credentials credentials, string b

public GetGeneratedImages WithGenerationRequestId(string generationRequestId)
{
if (string.IsNullOrWhiteSpace(generationRequestId))
throw new ArgumentException("Value cannot be null or whitespace.", nameof(generationRequestId));
Path = $"/ai/image-generations/{generationRequestId}";
return this;
}
Expand Down

0 comments on commit 61d5171

Please sign in to comment.