Skip to content

Commit a17cb72

Browse files
author
Cyril De Faria
committed
[FIX] Add Content Type in the request headers.
1 parent 32a2e24 commit a17cb72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clerk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(
1616
self, token: str, base_url: str = "https://api.clerk.dev/v1/", timeout_seconds: float = 30.0
1717
) -> None:
1818
self._session = aiohttp.ClientSession(
19-
headers={"Authorization": f"Bearer {token}"},
19+
headers={"Authorization": f"Bearer {token}", "Content-Type": "application/json"},
2020
timeout=aiohttp.ClientTimeout(total=timeout_seconds),
2121
)
2222
self._base_url = base_url

0 commit comments

Comments
 (0)