Skip to content
This repository was archived by the owner on May 24, 2020. It is now read-only.

Commit 6729e04

Browse files
fix error
1 parent 7454677 commit 6729e04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app.js

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ app.post('/update', (req, res) => {
3838
Number.isInteger(vibrs) &&
3939
Number.isInteger(total) &&
4040
typeof(first_connected) == 'boolean') {
41+
42+
data.touches = touches;
43+
data.vibrs = vibrs;
44+
data.total = total;
4145

4246
if (first_connected) {
4347
io.emit('first_connected', data);

0 commit comments

Comments
 (0)