Skip to content

Commit

Permalink
Allow new channel types
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Jan 16, 2023
1 parent 89697df commit 1fbbbab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/src/ee/models/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ const logSchema = new Schema<ILog>(
ref: 'Action',
required: true
}],
channel: {
channel: {
type: String,
enum: ['web', 'cli', 'auto'],
enum: ['web', 'cli', 'auto', 'k8-operator', 'other'],
required: true
},
ipAddress: {
type: String
}
}, {
timestamps: true
}
timestamps: true
}
);

const Log = model<ILog>('Log', logSchema);
Expand Down

0 comments on commit 1fbbbab

Please sign in to comment.