diff --git a/src/Squidex.Read.MongoDb/Contents/MongoContentRepository_EventHandling.cs b/src/Squidex.Read.MongoDb/Contents/MongoContentRepository_EventHandling.cs index 859c17525..6d521d204 100644 --- a/src/Squidex.Read.MongoDb/Contents/MongoContentRepository_EventHandling.cs +++ b/src/Squidex.Read.MongoDb/Contents/MongoContentRepository_EventHandling.cs @@ -130,7 +130,7 @@ namespace Squidex.Read.MongoDb.Contents protected Task On(ContentDeleted @event, EnvelopeHeaders headers) { - return ForAppIdAsync(@event.SchemaId.Id, async collection => + return ForAppIdAsync(@event.AppId.Id, async collection => { await collection.UpdateManyAsync( Filter.And(