diff --git a/wavesrv/pkg/pcloud/pcloud.go b/wavesrv/pkg/pcloud/pcloud.go index f599ed108..40a9c87fe 100644 --- a/wavesrv/pkg/pcloud/pcloud.go +++ b/wavesrv/pkg/pcloud/pcloud.go @@ -167,7 +167,14 @@ func SendTelemetry(ctx context.Context, force bool) error { log.Printf("[pcloud] sending telemetry data\n") dayStr := telemetry.GetCurDayStr() defaultShellType := shellapi.DetectLocalShellType() - input := TelemetryInputType{UserId: clientData.UserId, ClientId: clientData.ClientId, CurDay: dayStr, DefaultShell: defaultShellType, Activity: activity} + input := TelemetryInputType{ + UserId: clientData.UserId, + ClientId: clientData.ClientId, + AppType: "legacy", + CurDay: dayStr, + DefaultShell: defaultShellType, + Activity: activity, + } req, err := makeAnonPostReq(ctx, TelemetryUrl, input) if err != nil { return err diff --git a/wavesrv/pkg/pcloud/pclouddata.go b/wavesrv/pkg/pcloud/pclouddata.go index 548b589cf..fc03edd55 100644 --- a/wavesrv/pkg/pcloud/pclouddata.go +++ b/wavesrv/pkg/pcloud/pclouddata.go @@ -24,6 +24,7 @@ type TelemetryInputType struct { ClientId string `json:"clientid"` CurDay string `json:"curday"` DefaultShell string `json:"defaultshell"` + AppType string `json:"apptype"` Activity []*telemetry.ActivityType `json:"activity"` }