1
0
Fork 0
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:
Simo Kinnunen 2014-03-18 15:19:39 +09:00
parent 30b04ab2d2
commit 022977886c
3 changed files with 3 additions and 3 deletions

View file

@ -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
}