Implement queue task deletion
This commit is contained in:
parent
7f975a1fd0
commit
2620530cc2
5 changed files with 118 additions and 11 deletions
|
|
@ -17,6 +17,12 @@ pub struct PathQueue {}
|
|||
#[typed_path("/queue/inner")]
|
||||
pub struct PathQueueInner {}
|
||||
|
||||
#[derive(Deserialize, TypedPath)]
|
||||
#[typed_path("/queue/delete/:hash")]
|
||||
pub struct PathQueueDelete {
|
||||
pub hash: String,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, TypedPath)]
|
||||
#[typed_path("/commit/:hash")]
|
||||
pub struct PathCommitByHash {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue