diff --git a/services/models/script.ts b/services/models/script.ts index bbc9b3f..edd7e69 100644 --- a/services/models/script.ts +++ b/services/models/script.ts @@ -3,8 +3,8 @@ import { model, Schema, Document } from 'mongoose' const ScriptSchema: Record = { title: { type: String, required: true }, - video: { type: String, required: true }, - body: { type: String, required: true } + body: { type: String, required: true }, + video: { type: String } } export interface ScriptDocument extends Document {}