opencommit
opencommit copied to clipboard
Fix: Use default configured URL for Flowise engine client requests
trafficstars
🛠️ Fixing the Way to Flowise 🛤️
This PR ensures we're no longer shooting blind when sending requests to the Flowise engine. Instead of relying on an empty string ("") for the URL, we're now using the default configured URL already baked into the client (this.client.defaults.url). Why reinvent the wheel, right? 🚗
What Changed?
- Updated this.client.post("", payload)
- To the much smarter this.client.post(this.client.defaults.url, payload)
Why?
Because "empty string engineering" is not exactly best practice (or fun during debugging). Now requests follow the default road map as intended! 🎯