Updated the media model

This commit is contained in:
2022-09-09 15:40:55 +02:00
parent 7551d1a0cc
commit 55df6c907a

View File

@@ -29,7 +29,7 @@ const MediaSchema = new Schema<IMedia>({
}, },
assetEnding: { assetEnding: {
type: String, type: String,
required: true default: "txt"
}, },
created: { created: {
type: Date, type: Date,