This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 2cdc8e6e5 fix: scope config api token leaking (#8358)
2cdc8e6e5 is described below
commit 2cdc8e6e50ee80873750dd22dfce43d9b3ab1c24
Author: Klesh Wong <[email protected]>
AuthorDate: Tue Mar 25 16:43:47 2025 +0800
fix: scope config api token leaking (#8358)
---
backend/helpers/srvhelper/scope_service_helper.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/backend/helpers/srvhelper/scope_service_helper.go
b/backend/helpers/srvhelper/scope_service_helper.go
index deda7c25e..e0e0d97dc 100644
--- a/backend/helpers/srvhelper/scope_service_helper.go
+++ b/backend/helpers/srvhelper/scope_service_helper.go
@@ -220,6 +220,9 @@ func (scopeSrv *ScopeSrvHelper[C, S, SC])
getAllBlueprinsByScope(connectionId ui
scopeId,
),
))
+ for _, bp := range blueprints {
+ bp.Plan = nil
+ }
return blueprints
}