Skip to content

Commit a80accd

Browse files
committed
modify README
Signed-off-by: MregXN <[email protected]>
1 parent 1cddd0f commit a80accd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/pubsub/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ By default, the example uses HTTP. To use gRPC instead:
4141
daprPort: process.env.DAPR_GRPC_PORT,
4242
},
4343
});
44-
const client = new DaprClient(daprHost, process.env.DAPR_GRPC_PORT, CommunicationProtocolEnum.GRPC);
44+
45+
const client = new DaprClient({daprHost, daprPort:process.env.DAPR_GRPC_PORT, communicationProtocol:CommunicationProtocolEnum.GRPC});
4546
```
4647

4748
- To run:

0 commit comments

Comments
 (0)