From 40001949b8085ef4c172a0935d28f3791b1224c7 Mon Sep 17 00:00:00 2001 From: ganesh Date: Mon, 11 Nov 2024 17:36:11 -0800 Subject: [PATCH] Add a proper example for using the usebruno query library in the README file. (#3464) --- packages/bruno-query/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-query/readme.md b/packages/bruno-query/readme.md index 37801f52b..121d8f33b 100644 --- a/packages/bruno-query/readme.md +++ b/packages/bruno-query/readme.md @@ -24,7 +24,7 @@ get(data, '..items[?]', { id: 2, amount: 20 }) ``` Array mapping [?] with corresponding mapper function ```js -get(data, '..items[?].amount', i => i.amount + 10) +get(data, '..items..amount[?]', amt => amt + 10) ``` ### Publish to Npm Registry