mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Rename "isOwnedByUser" to "using".
This commit is contained in:
parent
30b04ab2d2
commit
022977886c
3 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ module.exports.applyData = function(device) {
|
|||
}
|
||||
|
||||
module.exports.applyOwner = function(device, user) {
|
||||
device.isOwnedByUser = !!device.owner && device.owner.email === user.email
|
||||
device.using = !!device.owner && device.owner.email === user.email
|
||||
return device
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue