From 0a8cfebae0b51226f978041c2df0ec69d36517eb Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Tue, 14 May 2019 18:44:16 +0200 Subject: [PATCH] Default plan id. --- .../Apps/AppHistoryEventsCreator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Squidex.Domain.Apps.Entities/Apps/AppHistoryEventsCreator.cs b/src/Squidex.Domain.Apps.Entities/Apps/AppHistoryEventsCreator.cs index fc8c2a7f6..6f442a622 100644 --- a/src/Squidex.Domain.Apps.Entities/Apps/AppHistoryEventsCreator.cs +++ b/src/Squidex.Domain.Apps.Entities/Apps/AppHistoryEventsCreator.cs @@ -209,7 +209,7 @@ namespace Squidex.Domain.Apps.Entities.Apps return Task.FromResult( ForEvent(@event, channel) - .AddParameter("Plan", @event.PlanId)); + .AddParameter("Plan", @event.PlanId ?? "free")); } protected Task On(AppRoleDeleted @event)