mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
refactor reserve and release endpoints in HTTP POST and DELETE methods
This commit is contained in:
parent
dccacea43f
commit
bca180d284
6 changed files with 189 additions and 174 deletions
|
@ -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'
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue