Lowercase software name in nodeinfo

This commit is contained in:
asonix 2020-04-19 16:35:46 -05:00
parent 9e31fa5d3f
commit db26ebc4ca

View file

@ -26,7 +26,7 @@ pub async fn route(config: web::Data<Config>, state: web::Data<State>) -> web::J
web::Json(NodeInfo {
version: NodeInfoVersion,
software: Software {
name: config.software_name(),
name: config.software_name().to_lowercase(),
version: config.software_version(),
},
protocols: vec![Protocol::ActivityPub],