Skip to content

Commit 999180d

Browse files
committed
3.3.16
1 parent 3461a7a commit 999180d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ following arguments:
507507
- `filter`: Filter your Virtual Numbers by tag or by number.
508508
- `startTime`: Use ISO format, e.g. "2024-01-24T15:39:00Z".
509509
- `endTime`: Use ISO format, e.g. "2024-01-24T16:39:00Z".
510-
- `reverse`: If set to true the results will be returned in reverse order. The default value is false.
510+
- `reverse`: If set to Ture the results will be returned in reverse order.
511511
- `direction`: Filter your messages by direction: outgoing or incoming.
512512

513513
Raises `telstra.messaging.exceptions.MessageError` if anything goes wrong.

telstra/messaging/utils/querystring.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def build(**kwargs) -> str:
99
if params:
1010
query_dict = eval(params)
1111
else:
12-
query_dict = {k: v for k, v in kwargs.items() if v is not None}
12+
query_dict = {k: 'true' if v is True else 'false' if v is False else v for k, v in kwargs.items() if v is not None}
1313
query_string = urlencode(query_dict)
1414
if query_string:
1515
return f"?{query_string}"
16-
return ""
16+
return ""

0 commit comments

Comments
 (0)