Skip to content

Commit

Permalink
replace status req type to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill-K-1 committed Jul 22, 2024
1 parent c878030 commit 9e4311e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions gov-portal-db/src/server.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
use axum::{
extract::State,
routing::{get, post},
Json, Router,
};
use axum::{extract::State, routing::post, Json, Router};
use chrono::{DateTime, Utc};
use ethereum_types::Address;
use jsonwebtoken::TokenData;
Expand Down Expand Up @@ -159,7 +155,7 @@ pub async fn start(

let app = Router::new()
.route("/token", post(token_route))
.route("/status", get(status_route))
.route("/status", post(status_route))
.route("/user", post(user_route))
.route("/users", post(users_route))
.route("/update-user", post(update_user_route))
Expand Down

0 comments on commit 9e4311e

Please sign in to comment.