mirror of https://github.com/dapr/quickstarts.git
fix order state url (#76)
This commit is contained in:
parent
649b96db01
commit
97cc202509
|
|
@ -77,7 +77,7 @@ We also expose a GET endpoint, `/order`:
|
|||
|
||||
```js
|
||||
app.get('/order', (_req, res) => {
|
||||
fetch(`${daprUrl}/state/order`)
|
||||
fetch(`${stateUrl}/order`)
|
||||
.then((response) => {
|
||||
return response.json();
|
||||
}).then((orders) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue