I like commiting broken code
This commit is contained in:
parent
e0a88d78fa
commit
368492e943
|
@ -20,7 +20,7 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
#[derive(Deserialize)]
|
||||
pub struct Request {
|
||||
pub r#move: String,
|
||||
pub move_task: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
|
|
|
@ -185,7 +185,7 @@ impl App {
|
|||
pub async fn handle_post(form: task::Request) -> impl warp::Reply {
|
||||
// TODO: intelligent SQL code here (or maybe in another function idk, it's up to the reader to
|
||||
// decide whats more intelligent)
|
||||
tracing::debug!("Got POST on /api/task/move: {}", form.r#move);
|
||||
tracing::debug!("Got POST on /api/task/move: {}", form.move_task);
|
||||
warp::redirect(warp::http::Uri::from_static("/"))
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ navbar<br>
|
|||
<a href="api/task/create">Create issue</a><br><br>
|
||||
|
||||
<label for="group">Task group</label>
|
||||
<select name="group" id="group" style="width:auo">
|
||||
<select name="group" id="group" style="width:auto">
|
||||
<option value="ideas">ideas</option>
|
||||
<option value="assigned">assigned</option>
|
||||
<option value="in-progress">in progreess</option>
|
||||
|
|
Loading…
Reference in a new issue