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

Add Morneau connector #490

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Add Morneau connector #490

wants to merge 10 commits into from

Conversation

Bensebabillal
Copy link

No description provided.

Copy link

netlify bot commented Jan 9, 2024

👷 Deploy request for karrio-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 3d8ec1f

# Perform the authentication request
response = lib.request(
url=f"{url}/api/auth/Token",
data={"UserName": self.username, "Password": self.password},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be wrapped in a lib.to_json

# Perform the authentication request
response = lib.request(
url=f"{url}/api/auth/Token",
data={"Username": self.username, "Password": self.password},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data={"Username": self.username, "Password": self.password},
data=lib.to_json({"Username": self.username, "Password": self.password}),

# Perform the authentication request
response = lib.request(
url=f"{url}/api/auth/Token",
data={"UserName": self.username, "Password": self.password},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data={"UserName": self.username, "Password": self.password},
data=lib.to_json({"UserName": self.username, "Password": self.password}),

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.

None yet

2 participants