From f78083133b1ceab53dde2ec06ba872fda9d2126c Mon Sep 17 00:00:00 2001 From: jagger Date: Wed, 31 Jul 2024 17:32:57 +0800 Subject: [PATCH] fix bug Signed-off-by: jagger Former-commit-id: 2095c8baeeccdc3d6249d29450403fb30e1cc6f4 --- 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 4f8b3451..c46054d3 100644 --- a/desc/inference/inference.api +++ b/desc/inference/inference.api @@ -130,7 +130,7 @@ type ( } StopAllByDeployTaskIdReq { - Id string `form:"deployTaskId"` + Id string `json:"deployTaskId"` } StopAllByDeployTaskIdResp { diff --git a/internal/types/types.go b/internal/types/types.go index 26c11e93..73949414 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6021,7 +6021,7 @@ type StartAllByDeployTaskIdResp struct { } type StopAllByDeployTaskIdReq struct { - Id string `form:"deployTaskId"` + Id string `json:"deployTaskId"` } type StopAllByDeployTaskIdResp struct {