Skip to content

Commit

Permalink
chore(pre-commit.ci): auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 4, 2024
1 parent 49fc443 commit 4dfd7a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fitbit_web_api/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ async def request(
if body is not None:
body = json.dumps(body)
args["data"] = body
elif headers["Content-Type"] == "application/x-www-form-urlencoded": # noqa: E501
elif (
headers["Content-Type"] == "application/x-www-form-urlencoded"
): # noqa: E501
args["data"] = aiohttp.FormData(post_params)
elif headers["Content-Type"] == "multipart/form-data":
# must del headers['Content-Type'], or the correct
Expand Down

0 comments on commit 4dfd7a7

Please # to comment.