tango-app-api-audio-analytics 1.0.9 → 1.0.10
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.
package/package.json
CHANGED
|
@@ -62,7 +62,7 @@ export const getConversationsList = async ( req, res ) => {
|
|
|
62
62
|
} );
|
|
63
63
|
|
|
64
64
|
let conversations;
|
|
65
|
-
let totalCount;
|
|
65
|
+
// let totalCount;
|
|
66
66
|
|
|
67
67
|
// If export is requested, call the export Lambda function
|
|
68
68
|
if ( isExport ) {
|
|
@@ -132,15 +132,16 @@ export const getConversationsList = async ( req, res ) => {
|
|
|
132
132
|
// Return paginated JSON response
|
|
133
133
|
return res.status( 200 ).json( {
|
|
134
134
|
status: 'success',
|
|
135
|
-
data:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
},
|
|
135
|
+
data: lambdaResponse,
|
|
136
|
+
// {
|
|
137
|
+
// result: lambdaResponse,
|
|
138
|
+
// pagination: {
|
|
139
|
+
// limit,
|
|
140
|
+
// offset,
|
|
141
|
+
// total: totalCount,
|
|
142
|
+
// hasMore: ( offset + limit ) < totalCount,
|
|
143
|
+
// },
|
|
144
|
+
// },
|
|
144
145
|
timestamp: new Date().toISOString(),
|
|
145
146
|
} );
|
|
146
147
|
} catch ( error ) {
|