BugFix/Spelling correction in telemetry payload (#2001)

spelling correction
This commit is contained in:
Vinod Paidimarry
2024-03-20 23:21:50 +05:30
committed by GitHub
parent 57efa25fe5
commit 0c0308b9c4
+3 -3
View File
@@ -436,7 +436,7 @@ export class App {
await this.telemetry.sendTelemetry('chatflow_created', {
version: await getAppVersion(),
chatlowId: results.id,
chatflowId: results.id,
flowGraph: getTelemetryFlowObj(JSON.parse(results.flowData)?.nodes, JSON.parse(results.flowData)?.edges)
})
@@ -2004,7 +2004,7 @@ export class App {
await this.telemetry.sendTelemetry('vector_upserted', {
version: await getAppVersion(),
chatlowId: chatflowid,
chatflowId: chatflowid,
type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL,
flowGraph: getTelemetryFlowObj(nodes, edges),
stopNodeId
@@ -2360,7 +2360,7 @@ export class App {
logger.debug(`[server]: Finished running ${nodeToExecuteData.label} (${nodeToExecuteData.id})`)
await this.telemetry.sendTelemetry('prediction_sent', {
version: await getAppVersion(),
chatlowId: chatflowid,
chatflowId: chatflowid,
chatId,
type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL,
flowGraph: getTelemetryFlowObj(nodes, edges)