Skip to content

Fix issues#14

Open
rishabhja wants to merge 3 commits intomasterfrom
fix_issues
Open

Fix issues#14
rishabhja wants to merge 3 commits intomasterfrom
fix_issues

Conversation

@rishabhja
Copy link
Copy Markdown
Contributor

No description provided.

@chaitanyagupta
Copy link
Copy Markdown

Hope you have tested these changes @rishabhja

base_url = flockos.base_url
url = base_url + resource_path
response_data = requests.post(url, data=str(params))
response_data = requests.post(url, data=str({k:to_camel_case(v) for k,v in params.items()}))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You need to do the camel case conversion recursively for nested objects.



def get_members(token, channel_id, show_public_profile, **kwargs):
def list_members(token, channel_id, show_public_profile, **kwargs):
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I am assuming this was auto generated?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes. The name was incorrect in swagger.json earlier

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.

2 participants