mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 09:53:21 +02:00
Replace groupService's outdated member tracker with deviceService.trackGroup().
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user