Skip to content

Commit

Permalink
adding additional logging
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Barbosa <tbarbos@hotmail.com>
  • Loading branch information
t1agob committed May 15, 2024
1 parent 1439bf2 commit 6951019
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions order-management/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ const client = new DaprClient({ daprHost, daprPort });

// GET all orders
app.get("/order", async (req: Request, res: Response) => {
console.log("Getting all orders");

const result = await client.state.query(stateStoreName, {
filter: {
"EQ": { "status": "In Progress" }
},
sort: [
{
"key": "status",
"order": "ASC"
"key": "id"
}
],
page: {
Expand Down

0 comments on commit 6951019

Please sign in to comment.