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 "Unsupported media type \"\" in request." in delete_todos #839

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

Conversation

jumasheff
Copy link
Contributor

No description provided.

@@ -128,7 +128,9 @@ def update_todos(updated_todos):


def delete_todos(todo_ids):
headers = {'Content-Type': 'application/json; charset=UTF-8'}
response = _make_api_request('delete', 'todo-api',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can it be same as what we have in update_todos? (just to be consistent?)

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