From 3afa5dd79f74980cb98fc6bb5c495a5280e1fd80 Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Thu, 11 Jan 2024 17:44:37 +0100 Subject: [PATCH] fix: trigger build Signed-off-by: Martin Buchleitner --- dapr-distributed-calendar/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dapr-distributed-calendar/README.md b/dapr-distributed-calendar/README.md index 78afadb..b33d5c7 100644 --- a/dapr-distributed-calendar/README.md +++ b/dapr-distributed-calendar/README.md @@ -68,12 +68,13 @@ I have tried to model this system on the Model View Controller Service (MVCS) ar } }) ``` + where the invokeURL is defined as: + ```js const invokeUrl = `http://localhost:${daprPort}/v1.0/invoke/${eventApp}/method`; ``` - * On creation of a new event, it publishes a message to a **pubsub** topic which is then picked up by the **Python** subscriber. *Pubishing to the topic* @@ -89,7 +90,9 @@ I have tried to model this system on the Model View Controller Service (MVCS) ar request( { uri: publishUrl, method: 'POST', json: JSON.stringify(message) } ); } ``` + where the publish URL is: + ```js const publishUrl = `http://localhost:${daprPort}/v1.0/publish/${pubsub_name}/${topic}`; ```