Browse Source

Formatting fix

pull/248/head
Sebastian Stehle 8 years ago
parent
commit
39919a93f3
  1. 4
      src/Squidex.Domain.Apps.Entities/Apps/Templates/CreateBlogCommandMiddleware.cs

4
src/Squidex.Domain.Apps.Entities/Apps/Templates/CreateBlogCommandMiddleware.cs

@ -32,9 +32,7 @@ namespace Squidex.Domain.Apps.Entities.Apps.Templates
public Task HandleAsync(CommandContext context, Func<Task> next)
{
if (context.IsCompleted &&
context.Command is global::Squidex.Domain.Apps.Entities.Apps.Commands.CreateApp createApp &&
IsRightTemplate(createApp))
if (context.IsCompleted && context.Command is CreateApp createApp && IsRightTemplate(createApp))
{
var appId = new NamedId<Guid>(createApp.AppId, createApp.Name);

Loading…
Cancel
Save