feat(event): log machine events on the server
This commit is contained in:
parent
9c47c9df9b
commit
5741a41c6b
1 changed files with 3 additions and 0 deletions
|
|
@ -169,6 +169,9 @@ exports.getCachedConfig = function getCachedConfig() {
|
||||||
return cachedConfig;
|
return cachedConfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
exports.logEvent = function event(rawEvent, deviceFingerprint) {
|
||||||
|
db.recordDeviceEvent(deviceFingerprint, rawEvent);
|
||||||
|
};
|
||||||
|
|
||||||
// This is where we record starting trade balance at the beginning
|
// This is where we record starting trade balance at the beginning
|
||||||
// of the user session
|
// of the user session
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue