add country to score point
Some checks failed
deploy / deploy (push) Failing after 34s

This commit is contained in:
Lee 2023-10-30 15:08:56 +00:00
parent 12000f7de8
commit 1520340bf4

@ -62,6 +62,7 @@ async function connectWebsocket() {
const {
id,
country,
hmd,
baseScore,
missedNotes,
@ -99,6 +100,7 @@ async function connectWebsocket() {
const point = new Point("scoresaber")
.tag("type", "score_count")
.intField("value", totalScores)
.stringField("country", country)
.timestamp(new Date());
InfluxWriteAPI.writePoint(point);
}