From 8109f0d6d57547dd821ba30127c357c90cab7173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Samin?= Date: Wed, 30 May 2018 16:43:37 +0200 Subject: [PATCH] fix(api): we must send a empty value because undefined is not a function (#2790) --- sdk/parameter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/parameter.go b/sdk/parameter.go index e9f11b138e..7b8b1b21ec 100644 --- a/sdk/parameter.go +++ b/sdk/parameter.go @@ -44,7 +44,7 @@ type Parameter struct { ID int64 `json:"id" yaml:"-"` Name string `json:"name"` Type string `json:"type"` - Value string `json:"value,omitempty"` + Value string `json:"value"` Description string `json:"description,omitempty" yaml:"desc,omitempty"` }