feat(event): log machine events on the server

This commit is contained in:
Damian Mee 2014-09-09 07:04:30 +02:00
parent 9c47c9df9b
commit 5741a41c6b

View file

@ -169,6 +169,9 @@ exports.getCachedConfig = function getCachedConfig() {
return cachedConfig;
};
exports.logEvent = function event(rawEvent, deviceFingerprint) {
db.recordDeviceEvent(deviceFingerprint, rawEvent);
};
// This is where we record starting trade balance at the beginning
// of the user session