Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ntruchsess committed Sep 20, 2024
1 parent 90d8a82 commit 43af89b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class SeedDataHandler : ISeedDataHandler

public async Task Import(KeycloakRealmSettings realmSettings, CancellationToken cancellationToken)
{
_keycloakRealm = (await realmSettings.DataPathes
_keycloakRealm = (await realmSettings.DataPaths
.AggregateAwait(
new KeycloakRealm(),
async (importRealm, path) => importRealm.Merge(await ReadJsonRealm(path, realmSettings.Realm, cancellationToken).ConfigureAwait(ConfigureAwaitOptions.None)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class KeycloakRealmSettings
public string InstanceName { get; set; } = null!;
[Required]
[DistinctValues]
public IEnumerable<string> DataPathes { get; set; } = null!;
public IEnumerable<string> DataPaths { get; set; } = null!;
public string? Id { get; set; }
public string? DisplayName { get; set; }
public string? DisplayNameHtml { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public async Task SeedDataHandlerImportsExpected()
{
Realm = "TestRealm",
InstanceName = "foo",
DataPathes = ["TestSeeds/test-realm.json"],
DataPaths = ["TestSeeds/test-realm.json"],
Clients = [
new()
{
Expand Down

0 comments on commit 43af89b

Please sign in to comment.