Skip to content

Commit 01fe198

Browse files
committed
fix(#832): fix task-abort endpoint
The endpoint to abort a task was not correctly connected in the routes, so the abort-request didn't worked. Signed-off-by: Tobias Anker <tobias.anker@kitsunemimi.moe>
1 parent 55b3340 commit 01fe198

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/binaries/sakura/src/api/routes/v1alpha.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub fn v1alpha_routes() -> Scope {
6666
))
6767
.service(resource("/{task_uuid}").route(get().to(get_task_v1_0::get_task)))
6868
.service(
69-
resource("/{task_uuid}/abort").route(put().to(get_task_v1_0::get_task)),
69+
resource("/{task_uuid}/abort").route(put().to(abort_task_v1_0::abort_task)),
7070
)
7171
.service(resource("").route(get().to(list_task_v1_0::list_task))),
7272
),

0 commit comments

Comments
 (0)