Updated the media model

This commit is contained in:
Mathias Wagner 2022-09-09 15:40:55 +02:00
parent 7551d1a0cc
commit 55df6c907a
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

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,