mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
Allow to update device notes column from STF UI. https://github.com/openstf/stf/issues/124
This commit is contained in:
@@ -258,6 +258,12 @@ dbapi.setDeviceRotation = function(serial, rotation) {
|
||||
}))
|
||||
}
|
||||
|
||||
dbapi.setDeviceNote = function(serial, note) {
|
||||
return db.run(r.table('devices').get(serial).update({
|
||||
notes: note
|
||||
}))
|
||||
}
|
||||
|
||||
dbapi.setDeviceReverseForwards = function(serial, forwards) {
|
||||
return db.run(r.table('devices').get(serial).update({
|
||||
reverseForwards: forwards
|
||||
|
||||
Reference in New Issue
Block a user