Allow new channel types

This commit is contained in:
Maidul Islam
2023-01-16 08:45:21 -08:00
parent 89697df85e
commit 1fbbbab602
+3 -3
View File
@@ -43,15 +43,15 @@ const logSchema = new Schema<ILog>(
}], }],
channel: { channel: {
type: String, type: String,
enum: ['web', 'cli', 'auto'], enum: ['web', 'cli', 'auto', 'k8-operator', 'other'],
required: true required: true
}, },
ipAddress: { ipAddress: {
type: String type: String
} }
}, { }, {
timestamps: true timestamps: true
} }
); );
const Log = model<ILog>('Log', logSchema); const Log = model<ILog>('Log', logSchema);