mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-26 07:45:16 +02:00
Add owners to groups.
This commit is contained in:
@@ -51,6 +51,16 @@ define(['./module', 'oboe'], function(mod, oboe) {
|
||||
modify(get(data), data)
|
||||
})
|
||||
|
||||
socket.on('group.join', function(data) {
|
||||
modify(get(data), data)
|
||||
})
|
||||
|
||||
socket.on('group.leave', function(data) {
|
||||
modify(get(data), {
|
||||
owner: null
|
||||
})
|
||||
})
|
||||
|
||||
oboe('/api/v1/devices')
|
||||
.node('devices[*]', function(device) {
|
||||
// We want to skip other arguments
|
||||
|
||||
Reference in New Issue
Block a user