mirror of https://github.com/dapr/docs.git
Fix method name
`startServer` method doesn't exist on JavaScript `DaprServer` (method name is `start` - see https://docs.dapr.io/developing-applications/sdks/js/js-server/#bindings-api) Signed-off-by: Stuart Leeks <stuartle@microsoft.com>
This commit is contained in:
parent
6460169263
commit
2bbff4b3ea
|
@ -253,7 +253,7 @@ async function start() {
|
|||
}
|
||||
});
|
||||
await server.binding.receive('checkout', async (orderId) => console.log(`Received Message: ${JSON.stringify(orderId)}`));
|
||||
await server.startServer();
|
||||
await server.start();
|
||||
}
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue