fix(account): Manual copy to avoid copy() issues with complex types (#6480)

This commit is contained in:
Jiahui
2026-01-05 11:54:23 +08:00
committed by GitHub
parent 9350f05cda
commit d8507d08c9
+1 -1
View File
@@ -1224,7 +1224,7 @@ func (m *MongoDB) GetAppCosts(req *helper.AppCostsReq) (results *common.AppCosts
}
if strings.ToUpper(req.AppType) != resources.AppStore {
var match bson.D
var match = make(bson.D, len(matchConditions))
copy(match, matchConditions[:])
if req.AppType != "" {
match = append(