Skip to content

Commit bca1f9c

Browse files
filintodacroca
andauthored
Update ext/dapr-ext-workflow/dapr/ext/workflow/dapr_workflow_client.py
Co-authored-by: Albert Callarisa <[email protected]> Signed-off-by: Filinto Duran <[email protected]>
1 parent 465209c commit bca1f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/dapr-ext-workflow/dapr/ext/workflow/dapr_workflow_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(
6565

6666
metadata = tuple()
6767
api_token = api_token if api_token is not None else settings.DAPR_API_TOKEN
68-
if api_token:
68+
if api_token is not None:
6969
metadata = ((DAPR_API_TOKEN_HEADER, api_token),)
7070
options = self._logger.get_options()
7171
self.__obj = client.TaskHubGrpcClient(

0 commit comments

Comments
 (0)