Update howto-publish-subscribe.md (#2990)

startServer() have been renamed to `start()`  In  'DaprServer.ts' 
so this means `await server.startServer()` will now be called as `await server.start()`

Signed-off-by: PATHAN SALMAN KHAN <54095769+salmankhan-prs@users.noreply.github.com>

Signed-off-by: PATHAN SALMAN KHAN <54095769+salmankhan-prs@users.noreply.github.com>
This commit is contained in:
PATHAN SALMAN KHAN 2022-12-14 06:42:52 +05:30 committed by GitHub
parent 0903f90992
commit f1d7b02993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ async function start(orderId) {
await server.pubsub.subscribe("order-pub-sub", "orders", async (orderId) => {
console.log(`Subscriber received: ${JSON.stringify(orderId)}`)
});
await server.startServer();
await server.start();
}
```