Browse Source

Do not throw.

pull/613/head
Sebastian 5 years ago
parent
commit
70898ee0d5
  1. 4
      backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoContentCollection.cs

4
backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoContentCollection.cs

@ -94,7 +94,7 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.Contents
return await queryByQuery.QueryAsync(app, schemas, q); return await queryByQuery.QueryAsync(app, schemas, q);
} }
throw new NotSupportedException(); return ResultList.CreateFrom<IContentEntity>(0);
} }
} }
@ -112,7 +112,7 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.Contents
return await queryByQuery.QueryAsync(app, schema, q, scope); return await queryByQuery.QueryAsync(app, schema, q, scope);
} }
throw new NotSupportedException(); return ResultList.CreateFrom<IContentEntity>(0);
} }
} }

Loading…
Cancel
Save