Skip to content

Commit

Permalink
added buildSection for endpoint Telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
o0shojo0o committed Oct 27, 2023
1 parent c5c481d commit 4bb871b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ Install dependencies with `npm install` and run dev server with `npn run dev`.

## Changelog

### 1.6.0 (2023-10-27)

- (o0shojo0o) added `buildSection` for endpoint `Telemetry`

### 1.5.0 (2023-09-26)

Expand Down
5 changes: 3 additions & 2 deletions libs/pixelItRepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,13 @@ async function saveStats(telemetry) {
try {
await connection.execute(
`REPLACE INTO pixel_it_telemetry
(uuid, version, type, matrix, sensors, geoip, last_change)
(uuid, version, build_section, type, matrix, sensors, geoip, last_change)
VALUES
(?, ?, ?, ?, ?, ?, ?)`,
(?, ?, ?, ?, ?, ?, ?, ?)`,
[
telemetry.uuid,
telemetry.version,
telemetry.buildSection || '',
telemetry.type,
telemetry.matrix,
telemetry.sensors,
Expand Down

0 comments on commit 4bb871b

Please sign in to comment.