Re-implementing the background geolocation (not yet stored in a track)
This commit is contained in:
1 parent
eae6296c2a
commit
82997cd53f
7 files changed
+4136
-1
No files matched your search
File diff suppressed because it is too large.
Load diff
+4
-1
@@ -18,5 +18,8 @@ export const pushTrack = (db: any, payload: any) => {
|
||||
_id = bytes_to_base64(result);
|
||||
console.log(`Digest: ${_id}`);
|
||||
}
|
||||
db.put({ _id, type: 'Track', ...payload });
|
||||
const doc = { _id, type: 'Track', ...payload };
|
||||
// console.log(JSON.stringify(doc));
|
||||
db.put(doc);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user