diff --git a/src/Squidex.Infrastructure.Redis/RedisSubscription.cs b/src/Squidex.Infrastructure.Redis/RedisSubscription.cs index 045858ce4..ac3140fce 100644 --- a/src/Squidex.Infrastructure.Redis/RedisSubscription.cs +++ b/src/Squidex.Infrastructure.Redis/RedisSubscription.cs @@ -38,7 +38,7 @@ namespace Squidex.Infrastructure.Redis { try { - var message = string.Join("#", (notifySelf ? Guid.Empty : InstanceId).ToString()); + var message = string.Join("#", (notifySelf ? Guid.Empty : InstanceId).ToString(), token); subscriber.Publish(channelName, message); } diff --git a/src/Squidex.Write/Contents/ContentCommandHandler.cs b/src/Squidex.Write/Contents/ContentCommandHandler.cs index 8b6e74739..51d3a5337 100644 --- a/src/Squidex.Write/Contents/ContentCommandHandler.cs +++ b/src/Squidex.Write/Contents/ContentCommandHandler.cs @@ -92,7 +92,6 @@ namespace Squidex.Write.Contents Guard.Valid(command, nameof(command), message); var taskForApp = appProvider.FindAppByIdAsync(command.AppId.Id); - var taskForSchema = schemas.FindSchemaByIdAsync(command.SchemaId.Id); await Task.WhenAll(taskForApp, taskForSchema);