fix: fix incorrect nil return value (#6079)

Signed-off-by: huochexizhan <huochexizhan@outlook.com>
This commit is contained in:
huochexizhan 2025-03-03 11:49:16 +01:00 committed by GitHub
parent fa7329f16e
commit 3a3f5e271c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,7 +133,7 @@ func (rule *Rule) executePartComponentOnKV(input *ExecuteRuleInput, payload Valu
}
if qerr := rule.execWithInput(input, req, input.InteractURLs, ruleComponent, key, value, "", "", "", ""); qerr != nil {
return err
return qerr
}
// after building change back to original value to avoid repeating it in furthur requests