mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 06:53:20 +02:00
Use automation state for devices used by api
This commit is contained in:
@@ -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
|
||||
)
|
||||
)
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user