mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Fix incorrect variable.
This commit is contained in:
parent
07217f9a39
commit
4676af51d7
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ dbapi.loadUser = function(email) {
|
|||
dbapi.addUserForward = function(email, forward) {
|
||||
return db.run(r.table('users').get(email).update({
|
||||
forwards: r.row('forwards').default([]).filter(function(forward) {
|
||||
return forward('devicePort').ne(devicePort)
|
||||
return forward('devicePort').ne(forward.devicePort)
|
||||
}).append(forward)
|
||||
}))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue