From 7d8da3a72c285903c6784a26527f83b7d8681006 Mon Sep 17 00:00:00 2001 From: Nikhil Jain Date: Wed, 25 Sep 2024 03:36:36 -0700 Subject: [PATCH] Fetch settings from JSON API Edited the help file, so it shows the user how settings can be fetched --- nodejs-write-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs-write-code.md b/nodejs-write-code.md index a0e8d83..336e68b 100644 --- a/nodejs-write-code.md +++ b/nodejs-write-code.md @@ -8,7 +8,7 @@ your main.js should look something like below: ```js const open = require('./node_modules/open'); -const { method, parameters } = JSON.parse(process.argv[2]); +const { method, parameters, settings } = JSON.parse(process.argv[2]); if (method === "query") { console.log(JSON.stringify(