mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Change method for /api/mission/clear
This commit is contained in:
parent
648491cd26
commit
ad9f1afb3a
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ async fn live_clearrate(req: HttpRequest) -> HttpResponse { router::live::clearr
|
||||||
#[get("/api/mission")]
|
#[get("/api/mission")]
|
||||||
async fn mission(req: HttpRequest) -> HttpResponse { router::mission::mission(req) }
|
async fn mission(req: HttpRequest) -> HttpResponse { router::mission::mission(req) }
|
||||||
|
|
||||||
#[get("/api/mission/clear")]
|
#[post("/api/mission/clear")]
|
||||||
async fn mission_clear(req: HttpRequest, body: String) -> HttpResponse { router::mission::clear(req, body) }
|
async fn mission_clear(req: HttpRequest, body: String) -> HttpResponse { router::mission::clear(req, body) }
|
||||||
|
|
||||||
#[get("/api/mission/receive")]
|
#[get("/api/mission/receive")]
|
||||||
|
|
Loading…
Add table
Reference in a new issue