Skip to content

Commit d8c415c

Browse files
committed
Fixed bug with bulkSearch
1 parent 242769b commit d8c415c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "truecallerpy"
7-
version = "1.0.2"
7+
version = "1.0.3"
88
description = "TruecallerPy is a Python package that provides functionalities to interact with the Truecaller API. It allows you to perform login, OTP verification, and phone number search using Truecaller."
99
readme = "README.md"
1010
license = { file = "LICENSE" }

src/truecallerpy/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def bulk_search(phoneNumbers, countryCode, installationId):
7979
"Authorization": f"Bearer {installationId}"
8080
}
8181
params = {
82-
"q": ",".join(phoneNumbers),
82+
"q": str(phoneNumbers),
8383
"countryCode": countryCode,
8484
"type": 14,
8585
"placement": "SEARCHRESULTS,HISTORY,DETAILS",

0 commit comments

Comments
 (0)