diff --git a/src/endpoints/loader.rs b/src/endpoints/loader.rs index de9b8ff..2fdda22 100644 --- a/src/endpoints/loader.rs +++ b/src/endpoints/loader.rs @@ -63,8 +63,8 @@ pub async fn get_one( }; Ok(web::Json(ApiResponse { - error: "".to_string(), - payload: version, + error: "".to_string(), + payload: version, })) } @@ -142,7 +142,7 @@ pub async fn get_many( ).await?; Ok(web::Json(ApiResponse { - error: "".to_string(), - payload: versions, + error: "".to_string(), + payload: versions, })) }