test: update tsts
This commit is contained in:
parent
8257255dc2
commit
486271a523
3 changed files with 63 additions and 43 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use axum::routing::get;
|
||||
use axum::routing::post;
|
||||
use axum::Router;
|
||||
use serde::Deserialize;
|
||||
|
||||
|
|
@ -8,5 +8,5 @@ struct FormData {
|
|||
name: String,
|
||||
}
|
||||
pub fn routes_subscriptions() -> Router {
|
||||
Router::new().route("/subscriptions", get(|| async {}))
|
||||
Router::new().route("/subscriptions", post(|| async {}))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue