oops put front matter at the end
This commit is contained in:
parent
e03236e1c7
commit
165f96c94a
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ pub async fn each_guild_update_events(
|
||||||
"scheduled_start_time": event.start_time.to_rfc3339(),
|
"scheduled_start_time": event.start_time.to_rfc3339(),
|
||||||
"scheduled_end_time": event.end_time.to_rfc3339(),
|
"scheduled_end_time": event.end_time.to_rfc3339(),
|
||||||
"description": format!("{}\n\n{}",
|
"description": format!("{}\n\n{}",
|
||||||
|
event.description,
|
||||||
serde_json::to_string(&front_matter)?,
|
serde_json::to_string(&front_matter)?,
|
||||||
event.description
|
|
||||||
),
|
),
|
||||||
}),
|
}),
|
||||||
Some(&format!("created by ctftime bot")),
|
Some(&format!("created by ctftime bot")),
|
||||||
|
@ -99,8 +99,8 @@ pub async fn each_guild_update_events(
|
||||||
"scheduled_start_time": event.start_time.to_rfc3339(),
|
"scheduled_start_time": event.start_time.to_rfc3339(),
|
||||||
"scheduled_end_time": event.end_time.to_rfc3339(),
|
"scheduled_end_time": event.end_time.to_rfc3339(),
|
||||||
"description": format!("{}\n\n{}",
|
"description": format!("{}\n\n{}",
|
||||||
|
event.description,
|
||||||
serde_json::to_string(&front_matter)?,
|
serde_json::to_string(&front_matter)?,
|
||||||
event.description
|
|
||||||
),
|
),
|
||||||
}),
|
}),
|
||||||
Some(&format!("created by ctftime bot")),
|
Some(&format!("created by ctftime bot")),
|
||||||
|
|
Loading…
Reference in a new issue