mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
refactor reserve and release endpoints in HTTP POST and DELETE methods
This commit is contained in:
@@ -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'
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user