fix: case sensitivity problem aghhhhh

This commit is contained in:
yashsinghcodes
2026-01-23 19:04:02 +05:30
parent c4f5e7d2d5
commit f5c58ec9f5
+1 -1
View File
@@ -2652,7 +2652,7 @@ func handleWorkflowQueue(resp http.ResponseWriter, request *http.Request) {
}
}
if strings.ToLower(actionResult.Action.Environment) != environment && len(environment) > 0 {
if strings.EqualFold(actionResult.Action.Environment, environment) && len(environment) > 0 && len(actionResult.Action.Environment) > 0 {
log.Printf("[WARNING] Got an action for %s environment forwarding it to the backend", actionResult.Action.Environment)
streamUrl := fmt.Sprintf("%s/api/v1/streams", baseUrl)