♻️ refactor: Remove useless statements

This commit is contained in:
Dominic Harris 2022-03-23 12:53:08 -04:00
parent 50581c022b
commit 15e376c3d9
No known key found for this signature in database
GPG Key ID: 93CCF85F3E2A4F65
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
use actix_web::{
get,
http::header::ContentType,
post,
web::{self},
HttpResponse, Responder,
@ -214,7 +213,7 @@ pub async fn get_stats(state: web::Data<AppState>) -> impl Responder {
// Badges
#[get("/v")]
pub async fn get_version_badge(state: web::Data<AppState>) -> impl Responder {
pub async fn get_version_badge() -> impl Responder {
let version = env!("CARGO_PKG_VERSION").to_string();
let badge = BadgeBuilder::new()