Commit 84e994f5 authored by Zachary Seguin's avatar Zachary Seguin

Added account token for authentication

parent 7f8427c7
......@@ -149,7 +149,8 @@ function sendUpdate() {
errorCallback(error);
}// End of ontimeout method
http.send(position.coords.latitude + "," + position.coords.longitude);
console.log('Pebble Account Token: ' + Pebble.getAccountToken());
http.send(position.coords.latitude + "," + position.coords.longitude + "," + Pebble.getAccountToken());
}, errorCallback);
}// End of sendUpdate method
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment