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 form parameter and delete it only when undefined #600

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

Yang-33
Copy link
Contributor

@Yang-33 Yang-33 commented Nov 20, 2023

#597 (comment)
As I checked in my local, channel api client's request is rejected. The root cause was that parameter used camel case as form parameter. Snake case is expected according to official document. This change fixes it.

@Yang-33 Yang-33 marked this pull request as ready for review November 21, 2023 00:12
@Yang-33 Yang-33 enabled auto-merge (squash) November 21, 2023 04:07
@Yang-33 Yang-33 merged commit d686ad4 into line:master Nov 21, 2023
3 checks passed
@Yang-33 Yang-33 deleted the fix-form-param branch November 21, 2023 04:09
Yang-33 added a commit that referenced this pull request Mar 12, 2024
This change is almost same as
#600.
When we call `client.getFollowers(undefined, 100)`, currently it
requests `/v2/bot/followers/ids?start=&limit=100`. We should make it to
request `/v2/bot/followers/ids?limit=100`. Thus this change delete kay
from parameter if value is undefined.
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