Skip to content

Commit

Permalink
fix: Restore Auth data for request that was removed unintentionally (#19
Browse files Browse the repository at this point in the history
)
  • Loading branch information
akalex authored Mar 11, 2024
1 parent 4904840 commit f4b79f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.4.1
* [FIX] Authentication data is not sent with request.

## 1.4.0
* Refactored ``async_customerio.client_base.AsyncClientBase`` to take advantage of connection pool. So the HTTP client will be created once during class ``async_customerio.track.AsyncCustomerIO`` and ``async_customerio.api.AsyncAPIClient`` instantiation.

Expand Down
2 changes: 1 addition & 1 deletion async_customerio/client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def send_request(
)
try:
raw_cio_response: httpx.Response = await self._client.request(
method, url, json=json_payload and sanitize(json_payload), headers=merged_headers
method, url, json=json_payload and sanitize(json_payload), headers=merged_headers, auth=auth
)
result_status = raw_cio_response.status_code
if result_status != 200:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "async-customerio"
version = "1.4.0"
version = "1.4.1"
description = "Async CustomerIO Client - a Python client to interact with CustomerIO in an async fashion."
license = "MIT"
authors = [
Expand Down

0 comments on commit f4b79f5

Please sign in to comment.