diff --git a/cli/Squidex.CLI/Squidex.CLI/Commands/Implementation/Sync/Workflows/WorkflowsSynchronizer.cs b/cli/Squidex.CLI/Squidex.CLI/Commands/Implementation/Sync/Workflows/WorkflowsSynchronizer.cs index 2667aa96..dce0f593 100644 --- a/cli/Squidex.CLI/Squidex.CLI/Commands/Implementation/Sync/Workflows/WorkflowsSynchronizer.cs +++ b/cli/Squidex.CLI/Squidex.CLI/Commands/Implementation/Sync/Workflows/WorkflowsSynchronizer.cs @@ -121,7 +121,7 @@ await log.DoSafeAsync($"Workflow '{workflow.Name}' creating", async () => } var schemas = await session.Schemas.GetSchemasAsync(session.App); - var schemaMap = schemas.Items.ToDictionary(x => x.Id, x => x.Name); + var schemaMap = schemas.Items.ToDictionary(x => x.Name, x => x.Id); foreach (var workflow in models) { diff --git a/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj b/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj index c13ce153..021f5525 100644 --- a/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj +++ b/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj @@ -14,7 +14,7 @@ net5.0 true sq - 7.18 + 7.19