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
|
```js
|
||||||
app.get('/order', (_req, res) => {
|
app.get('/order', (_req, res) => {
|
||||||
fetch(`${daprUrl}/state/order`)
|
fetch(`${stateUrl}/order`)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).then((orders) => {
|
}).then((orders) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue