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

refactor reserve and release endpoints in HTTP POST and DELETE methods

This commit is contained in:
Vishal Banthia 2015-12-07 17:49:34 +09:00
parent dccacea43f
commit bca180d284
6 changed files with 189 additions and 174 deletions

View file

@ -121,7 +121,7 @@ dbapi.lookupUserByVncAuthResponse = function(response, serial) {
})
}
dbapi.loadGroup = function(email) {
dbapi.loadUserDevices = function(email) {
return db.run(r.table('devices').getAll(email, {
index: 'owner'
}))