thunderbolt: fix enroll-failed signal args order
The devices emitted (device, error) while the connected handler was expecting (error, device). The former is more consistent with the rest of the code (so change it to device, error).
This commit is contained in:
parent
c4e0f6df08
commit
0963ccddba
@ -228,7 +228,7 @@ var AuthRobot = new Lang.Class({
|
||||
|
||||
_onEnrollDone(device, error) {
|
||||
if (error)
|
||||
this.emit('enroll-failed', error, device);
|
||||
this.emit('enroll-failed', device, error);
|
||||
|
||||
/* TODO: scan the list of devices to be authorized for children
|
||||
* of this device and remove them (and their children and
|
||||
|
Loading…
Reference in New Issue
Block a user