mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Merge pull request #481 from openstf/add-automation-label
Use automation label in device list for devices accessed using API
This commit is contained in:
commit
445cfcf0bc
15 changed files with 78 additions and 19 deletions
|
@ -148,6 +148,7 @@ function addUserDevice(req, res) {
|
|||
.handler()
|
||||
|
||||
req.options.channelRouter.on(wireutil.global, messageListener)
|
||||
var usage = 'automation'
|
||||
|
||||
req.options.push.send([
|
||||
device.channel
|
||||
|
@ -165,6 +166,7 @@ function addUserDevice(req, res) {
|
|||
, match: 'exact'
|
||||
}
|
||||
})
|
||||
, usage
|
||||
)
|
||||
)
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue