From f0fe3aecc7e45dc2364aeda999122f3948ba15ce Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Tue, 4 Jul 2017 13:04:07 +0200 Subject: [PATCH] Update MongoContentRepository_EventHandling.cs --- .../Contents/MongoContentRepository_EventHandling.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(