diff --git a/backend/src/Squidex.Domain.Apps.Entities/History/NotifoService.cs b/backend/src/Squidex.Domain.Apps.Entities/History/NotifoService.cs index 6ee38ca7b..1901fe301 100644 --- a/backend/src/Squidex.Domain.Apps.Entities/History/NotifoService.cs +++ b/backend/src/Squidex.Domain.Apps.Entities/History/NotifoService.cs @@ -200,7 +200,12 @@ namespace Squidex.Domain.Apps.Entities.History } } - await client.Events.PostEventsAsync(options.AppId, new PublishManyRequestDto { Requests = requests }); + var request = new PublishManyRequestDto + { + Requests = requests + }; + + await client.Events.PostEventsAsync(options.AppId, request); } foreach (var @event in events) @@ -220,10 +225,12 @@ namespace Squidex.Domain.Apps.Entities.History try { - await client.Users.PostAllowedTopicAsync(options.AppId, userId, new AddAllowedTopicRequest + var request = new AddAllowedTopicRequest { Prefix = GetAppPrefix(contributorAssigned) - }); + }; + + await client.Users.PostAllowedTopicAsync(options.AppId, userId, request); } catch (NotifoException ex) when (ex.StatusCode == 404) { diff --git a/backend/src/Squidex.Domain.Apps.Entities/Squidex.Domain.Apps.Entities.csproj b/backend/src/Squidex.Domain.Apps.Entities/Squidex.Domain.Apps.Entities.csproj index 5756c6d4a..0e4209bfa 100644 --- a/backend/src/Squidex.Domain.Apps.Entities/Squidex.Domain.Apps.Entities.csproj +++ b/backend/src/Squidex.Domain.Apps.Entities/Squidex.Domain.Apps.Entities.csproj @@ -31,7 +31,7 @@ runtime; build; native; contentfiles; analyzers - + diff --git a/frontend/app/features/content/pages/content/content-page.component.html b/frontend/app/features/content/pages/content/content-page.component.html index 90779b4d1..69e529b00 100644 --- a/frontend/app/features/content/pages/content/content-page.component.html +++ b/frontend/app/features/content/pages/content/content-page.component.html @@ -40,47 +40,49 @@ - - + - - - - + + + - - + + + + + + + + + - - - - - + + + + + - - - - - -