1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 02:09:32 +02:00

Replace groupService's outdated member tracker with deviceService.trackGroup().

This commit is contained in:
Simo Kinnunen 2014-03-19 16:45:30 +09:00
parent efed9aefce
commit 2555168345
4 changed files with 31 additions and 56 deletions

View file

@ -34,10 +34,10 @@ dbapi.loadUser = function(email) {
return db.run(r.table('users').get(email))
}
dbapi.loadGroupMembers = function(email) {
dbapi.loadGroup = function(email) {
return db.run(r.table('devices').getAll(email, {
index: 'ownerEmail'
})('serial'))
index: 'ownerEmail'
}))
}
dbapi.saveDeviceLog = function(serial, entry) {