diff --git a/server/src/data/database/model/PlaybooksRepository.ts b/server/src/data/database/model/PlaybooksRepository.ts index 6b027314..ad30e19f 100644 --- a/server/src/data/database/model/PlaybooksRepository.ts +++ b/server/src/data/database/model/PlaybooksRepository.ts @@ -21,7 +21,7 @@ export default interface PlaybooksRepository { directoryExclusionList?: string[]; onError?: boolean; onErrorMessage?: string; - gitService: SsmGit.Services; + gitService?: SsmGit.Services; createdAt?: Date; updatedAt?: Date; } @@ -102,7 +102,7 @@ const schema = new Schema( }, gitService: { type: Schema.Types.String, - required: true, + required: false, }, }, {