Go code fix

This commit is contained in:
Amulya Varote 2021-11-16 07:57:10 -08:00
parent 63d21e6c70
commit 721e688e69
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ import { DaprClient, HttpMethod, CommunicationProtocolEnum } from 'dapr-client';
//code
const daprHost = "127.0.0.1";
const client = new DaprClient(daprHost, process.env.DAPR_HTTP_PORT, CommunicationProtocolEnum.HTTP);
const result = await client.invoker.invoke('checkoutservice' , "checkout/" + orderId , HttpMethod.GET);