Browse Source

Build fixed

pull/289/head
Sebastian 8 years ago
parent
commit
6c3e56a8f6
  1. 2
      src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoContentRepository.cs
  2. 2
      src/Squidex.Infrastructure.MongoDb/States/MongoSnapshotStore.cs

2
src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoContentRepository.cs

@ -95,7 +95,7 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.Contents
{
using (Profiler.TraceMethod<MongoContentRepository>())
{
await contentsDraft.QueryNotFoundAsync(appId, schemaId, ids);
return await contentsDraft.QueryNotFoundAsync(appId, schemaId, ids);
}
}

2
src/Squidex.Infrastructure.MongoDb/States/MongoSnapshotStore.cs

@ -65,7 +65,7 @@ namespace Squidex.Infrastructure.States
{
using (Profiler.TraceMethod<MongoSnapshotStore<T, TKey>>())
{
return Collection.Find(new BsonDocument()).ForEachAsync(x => callback(x.Doc, x.Version));
await Collection.Find(new BsonDocument()).ForEachAsync(x => callback(x.Doc, x.Version));
}
}
}

Loading…
Cancel
Save