mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 00:03:28 +02:00
Rename "isOwnedByUser" to "using".
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user