Remove whitespace

Signed-off-by: Nick Greenfield <nigreenf@microsoft.com>
This commit is contained in:
Nick Greenfield 2022-02-07 15:28:38 -08:00 committed by Artur Souza
parent f2eb9d1345
commit 40e7fe906b
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const PUBSUB_TOPIC = "orders";
async function main() {
while (true) {
const rand = Math.floor(Math.random() * 1000);
const order = {orderId: rand };
const order = {orderId: rand};
// Publish an event using Dapr pub/sub
await axios.post(`${DAPR_HOST}:${DAPR_HTTP_PORT}/v1.0/publish/${PUBSUB_NAME}/${PUBSUB_TOPIC}`, order)