From 2544301b9925cb398ab590de14c5b4686c4fcfe3 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 26 Feb 2024 20:51:52 +0800 Subject: [PATCH] fix: unset scopeConfigId for scope not working on azdo/bamboo (#7024) --- backend/helpers/pluginhelper/api/scope_generic_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/helpers/pluginhelper/api/scope_generic_helper.go b/backend/helpers/pluginhelper/api/scope_generic_helper.go index ffc994d2fbd..1fe90fae91e 100644 --- a/backend/helpers/pluginhelper/api/scope_generic_helper.go +++ b/backend/helpers/pluginhelper/api/scope_generic_helper.go @@ -208,7 +208,7 @@ func (gs *GenericScopeApiHelper[Conn, Scope, ScopeConfig]) UpdateScope(input *pl if err != nil { return nil, err } - err = DecodeMapStruct(input.Body, scope, false) + err = DecodeMapStruct(input.Body, scope, true) if err != nil { return nil, errors.Default.Wrap(err, "patch scope error") }