@peopl-health/nexus 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,7 +110,7 @@ const createAssistantController = async (req, res) => {
110
110
  };
111
111
 
112
112
  const getInfoAssistantController = async (req, res) => {
113
- const { code } = req.body;
113
+ const { code } = req.query;
114
114
 
115
115
  try {
116
116
  let threadInfo = await getThreadInfo(code);
@@ -6,7 +6,7 @@ const assistantRouteDefinitions = {
6
6
  'POST /add-instruction': 'addInsAssistantController',
7
7
  'POST /add-msg': 'addMsgAssistantController',
8
8
  'POST /create': 'createAssistantController',
9
- 'POST /get-info': 'getInfoAssistantController',
9
+ 'GET /info': 'getInfoAssistantController',
10
10
  'GET /list': 'listAssistantController',
11
11
  'POST /switch': 'switchAssistantController',
12
12
  'POST /stop': 'stopAssistantController'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "publishConfig": {
6
6
  "access": "public"