From 4c64c4781cc4ee46f20d152683deb7e4cb5ad3f3 Mon Sep 17 00:00:00 2001 From: jagger Date: Wed, 31 Jul 2024 17:07:07 +0800 Subject: [PATCH] fix bug Signed-off-by: jagger --- desc/inference/inference.api | 2 +- internal/types/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desc/inference/inference.api b/desc/inference/inference.api index 12fe84a41..4f8b3451a 100644 --- a/desc/inference/inference.api +++ b/desc/inference/inference.api @@ -122,7 +122,7 @@ type ( } StartAllByDeployTaskIdReq { - Id string `form:"deployTaskId" json:"deployTaskId"` + Id string `json:"deployTaskId"` } StartAllByDeployTaskIdResp { diff --git a/internal/types/types.go b/internal/types/types.go index a069f8364..26c11e939 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6014,7 +6014,7 @@ type InferenceTaskStatResp struct { } type StartAllByDeployTaskIdReq struct { - Id string `form:"deployTaskId" json:"deployTaskId"` + Id string `json:"deployTaskId"` } type StartAllByDeployTaskIdResp struct {