Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Font Vincent <[email protected]>
  • Loading branch information
Hunh0w committed May 2, 2024
1 parent 0b16dde commit 1a2fa42
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 @@ -82,7 +82,7 @@ pub async fn shutdown(request: HttpRequest) -> impl Responder {
}
Err(_) => {
let json_response: ShutdownJsonResponse = ShutdownJsonResponse { success: false };
return HttpResponse::Ok().body(serde_json::to_string(&json_response).unwrap());
HttpResponse::Ok().body(serde_json::to_string(&json_response).unwrap())
}
}
}
Expand Down

0 comments on commit 1a2fa42

Please sign in to comment.