Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/domain/models/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ pub struct Bot {
pub custom_events_limit: i32,
pub framework: Option<String>,
pub goals_limit: i32,
pub language: Option<String>,
pub last_push: Option<DateTime>,
pub owner_id: String,
pub suspended: bool,
Expand Down Expand Up @@ -47,7 +46,6 @@ impl Bot {
custom_events_limit: MAX_CUSTOM_EVENTS_PER_BOT,
framework: None,
goals_limit: MAX_GOALS_PER_BOT,
language: None,
last_push: None,
owner_id: owner_id.to_string(),
suspended: false,
Expand Down
2 changes: 0 additions & 2 deletions src/openapi/schemas/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pub struct BotResponse {
pub custom_events_limit: i32,
pub framework: Option<String>,
pub goals_limit: i32,
pub language: Option<String>,
pub last_push: Option<String>,
pub owner_id: String,
pub suspended: bool,
Expand All @@ -36,7 +35,6 @@ impl TryFrom<Bot> for BotResponse {
custom_events_limit: bot.custom_events_limit,
framework: bot.framework,
goals_limit: bot.goals_limit,
language: bot.language,
last_push: bot
.last_push
.map(|dt| dt.try_to_rfc3339_string())
Expand Down