fix: Update telemetry data field names.

This commit is contained in:
SamTolmay 2021-03-01 13:44:49 +02:00
parent 59c4638e82
commit 085e5cc635
2 changed files with 10 additions and 4 deletions

View File

@ -29,10 +29,10 @@ function getSendTelemetry({ appId, cliVersion, command, disableTelemetry, lowdef
},
data: {
...data,
appId,
cliVersion,
app_id: appId,
cli_version: cliVersion,
command,
lowdefyVersion,
lowdefy_version: lowdefyVersion,
},
});
} catch (error) {

View File

@ -197,12 +197,18 @@
_state: feedback.email
source: docs
type: Docs feedback
page_id:
_var: pageId
- id: discord_channel_feedback
type: AxiosHttp
connectionId: discord_channel
properties:
data:
content: 'New feedback on docs'
content:
_nunjucks:
template: 'Docs feedback: {{ text }}'
on:
_state: feedback
layout:
size: auto
properties: