api and backwards compat work
This commit is contained in:
parent
ae1a0e80a2
commit
3601a6ec12
3 changed files with 79 additions and 30 deletions
|
|
@ -195,7 +195,7 @@ Trader.prototype.sendBitcoins = function (deviceFingerprint, tx, cb) {
|
|||
});
|
||||
};
|
||||
|
||||
Trader.prototype.event = function (rec, deviceFingerprint) {
|
||||
Trader.prototype.deviceEvent = function deviceEvent(rec, deviceFingerprint) {
|
||||
this.db.recordDeviceEvent(deviceFingerprint, rec, function (err) {
|
||||
if (err) logger.error(err);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue