diff --git a/internal/api/http/handlers/target/target.go b/internal/api/http/handlers/target/target.go index 0a3d0ff..5e125da 100644 --- a/internal/api/http/handlers/target/target.go +++ b/internal/api/http/handlers/target/target.go @@ -34,7 +34,7 @@ func CreateTarget(targetService model.TargetService) echo.HandlerFunc { func GetAllTarget(targetService model.TargetService) echo.HandlerFunc { type GetAllTargetBody struct { - StreamerID model.StreamerID `json:"streamer_id"` + StreamerID model.StreamerID `json:"streamerID"` } return func(request echo.Context) error { ctx := context.Background()