Skip to content

Commit bae7c1e

Browse files
author
gabino
committed
Update search method to use Enum value for search type
1 parent 364d5f3 commit bae7c1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

quienesquien/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def search(
132132
if birthday:
133133
params['birthday'] = birthday.strftime('%d/%m/%Y')
134134
if search_type is not None:
135-
params['type'] = search_type
135+
params['type'] = search_type.value
136136
if search_list:
137137
params['list'] = ','.join(search_list)
138138

0 commit comments

Comments
 (0)