Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Hawxy committed Jan 5, 2024
1 parent 3940b91 commit 6cfac7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fga.Net/Configuration/OpenFgaConnectionBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void WithOidcAuthentication(string clientId, string clientSecret, string

internal FgaConnectionConfiguration Build()
{
if (string.IsNullOrEmpty(_apiHost))
if (string.IsNullOrEmpty(_apiUrl))
throw new InvalidOperationException("API Host cannot be null or empty");
if (!_apiUrl.Contains(Uri.UriSchemeHttps) && !_apiUrl.Contains(Uri.UriSchemeHttp))
throw new InvalidOperationException("API Scheme must be http or https");
Expand Down

0 comments on commit 6cfac7a

Please sign in to comment.