Browse Source

Update MongoAssetEntity.cs (#1060)

pull/1061/head
Sebastian Stehle 2 years ago
committed by GitHub
parent
commit
e06ac1269e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      backend/src/Squidex.Domain.Apps.Entities.MongoDb/Assets/MongoAssetEntity.cs

2
backend/src/Squidex.Domain.Apps.Entities.MongoDb/Assets/MongoAssetEntity.cs

@ -73,7 +73,7 @@ public record MongoAssetEntity : Asset, IVersionedEntity<DomainId>
cm.MapProperty(x => x.TotalSize)
.SetElementName("ts")
.SetIsRequired(true);
.SetIsRequired(false);
cm.MapProperty(x => x.Type)
.SetElementName("at")

Loading…
Cancel
Save