Skip to content

Commit fc81ecd

Browse files
committed
Fixed new mypy version issue bool check
1 parent b0fd9b3 commit fc81ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bugout/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def get_user_tokens(
224224
}
225225
query_params = {}
226226
if active is not None:
227-
query_params.update({"active": active})
227+
query_params.update({"active": str(int(active))})
228228
if token_type is not None:
229229
query_params.update({"token_type": token_type.value})
230230
result = self._call(

0 commit comments

Comments
 (0)