Fix response filtering

This commit is contained in:
Gregory Schier
2024-10-21 07:26:50 -07:00
parent 57c3a86799
commit b9f397e04a
3 changed files with 10 additions and 7 deletions

View File

@@ -558,9 +558,9 @@ impl PluginManager {
content_type: &str,
) -> Result<FilterResponse> {
let plugin_name = if content_type.to_lowercase().contains("json") {
"filter-jsonpath"
"@yaakapp/filter-jsonpath"
} else {
"filter-xpath"
"@yaakapp/filter-xpath"
};
let plugin = self