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 reuse not being received as boolean #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

loicgillioz
Copy link

Hi there,

I just deployed kutt and when using the python library I noticed there was an issue with the reuse argument being sent to the API in the submit function. I guess this is link to this issue, some conflict between capital True (Python) and lowercase true (JS) when requests sends the payload : https://stackoverflow.com/questions/17980362/using-python-requests-to-send-json-boolean

With this fix it made it work on my side.

@loicgillioz
Copy link
Author

@amirali Small reminder, if you have time to check this.

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