Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Use default configured URL for Flowise engine client requests #439

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omar67
Copy link

@omar67 omar67 commented Dec 24, 2024

🛠️ 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! 🎯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant