Skip to content

Commit

Permalink
Consistent (nami) parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
arenddeboer committed Feb 11, 2015
1 parent 227d4b8 commit 7b9649e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/message/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -879,10 +879,10 @@ function QueueReset() {
* @property {String} Interface Interface
* @augments Action
*/
function QueueRemove(queue, asteriskInterface) {
function QueueRemove(asteriskInterface, queue) {
QueueRemove.super_.call(this, 'QueueRemove');
this.set('interface', asteriskInterface);
this.set('queue', queue);
this.set('interface', asteriskInterface);
}

/**
Expand Down Expand Up @@ -919,10 +919,10 @@ function Originate() {
* @property {String} StateInterface Optional, State interface
* @augments Action
*/
function QueueAdd(queue, asteriskInterface) {
function QueueAdd(asteriskInterface, queue) {
QueueAdd.super_.call(this, 'QueueAdd');
this.set('interface', asteriskInterface);
this.set('queue', queue);
this.set('interface', asteriskInterface);
}

/**
Expand Down

0 comments on commit 7b9649e

Please sign in to comment.