move pair stuff to lamassu-admin-server

This commit is contained in:
Josh Harvey 2016-10-21 18:18:15 +03:00
parent 99cd1b72c6
commit 20e10779a7

View file

@ -1,4 +1,3 @@
const path = require('path')
const db = require('./db') const db = require('./db')
function pair (token, deviceId) { function pair (token, deviceId) {
@ -22,4 +21,4 @@ function isPaired (deviceId) {
.then(() => true) .then(() => true)
} }
module.exports = {totem, pair, unpair, isPaired} module.exports = {pair, isPaired}