Skip to content

Conversation

@sjwmoveon
Copy link

The default second argument for the API connector's POST request is params, the request parameters. We should be passing the message as part of the body of the POST, not as parameters.

The default second argument for [the API connector's POST request](https://github.com/MoveOnOrg/parsons/blob/moveon/parsons/utilities/api_connector.py#L108) is params, the request parameters.  We should be passing the message as part of the body of the POST, not as parameters.
@sjwmoveon sjwmoveon requested a review from technicalex April 7, 2025 20:51
Copy link

@technicalex technicalex left a comment

Choose a reason for hiding this comment

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

This looks good to me, but the CI tests are failing. Can you please take a look before I approve? Thank you!

@sjwmoveon
Copy link
Author

The only CI test failing has this error: "Error: Dependency review is not supported on this repository. Please ensure that Dependency graph is enabled along with GitHub Advanced Security on private repositories, see https://github.com/MoveOnOrg/parsons/settings/security_analysis"
Sounds like we either need to adjust some repo settings or just turn off that check. The more thorough checks in the move-coop version are passing: move-coop#1410

@sjwmoveon sjwmoveon requested a review from technicalex April 7, 2025 21:04
Copy link

@technicalex technicalex left a comment

Choose a reason for hiding this comment

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

Thanks for explaining!

@sjwmoveon sjwmoveon merged commit 3244a8e into moveon Apr 7, 2025
1 check failed
@sjwmoveon sjwmoveon deleted the sjwmoveon-patch-1 branch April 7, 2025 21:21
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.

3 participants