Rename some endpoints

This commit is contained in:
simon987
2019-02-16 19:58:24 -05:00
parent 16ffeb30f9
commit b936513eb9
3 changed files with 4 additions and 4 deletions

View File

@@ -781,7 +781,7 @@ func TestTaskChain(t *testing.T) {
}
func createTask(request api.SubmitTaskRequest, worker *storage.Worker) (ar api.JsonResponse) {
r := Post("/task/create", request, worker, nil)
r := Post("/task/submit", request, worker, nil)
UnmarshalResponse(r, &ar)
return
}