diff --git a/src/main.rs b/src/main.rs index dad2c2c..2892abb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,7 +60,7 @@ async fn index(_: web::Data) -> actix_web::Result { Ok(HttpResponse::Ok().json(Response { health: true })) } -#[post("/test/postmanually/{user}/{post}")] +#[get("/test/postmanually/{user}/{post}")] async fn post_manually( path: web::Path<(String, String)>, state: web::Data,