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:
parent
efed9aefce
commit
2555168345
4 changed files with 31 additions and 56 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue