Skip to content

Commit 465209c

Browse files
filintodacroca
andauthored
Update dapr/clients/grpc/client.py
Co-authored-by: Albert Callarisa <[email protected]> Signed-off-by: Filinto Duran <[email protected]>
1 parent 2fa1ff2 commit 465209c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dapr/clients/grpc/client.py

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

191191
self._channel = grpc.intercept_channel(self._channel, DaprClientTimeoutInterceptor()) # type: ignore
192192

193-
if api_token:
193+
if api_token is not None:
194194
api_token_interceptor = DaprClientInterceptor(
195195
[
196196
('dapr-api-token', api_token),

0 commit comments

Comments
 (0)