Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunh0w committed May 2, 2024
1 parent 27a6251 commit b6d24eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub async fn shutdown(request: HttpRequest) -> impl Responder {
match response_result {
Ok(response) => {
let json_response: ShutdownJsonResponse = response.into();
return HttpResponse::Ok().body(serde_json::to_string(&json_response).unwrap());
HttpResponse::Ok().body(serde_json::to_string(&json_response).unwrap())
}
Err(_) => {
let json_response: ShutdownJsonResponse = ShutdownJsonResponse {
Expand Down

0 comments on commit b6d24eb

Please sign in to comment.