Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charliesantos committed Oct 4, 2022
1 parent 6fc2791 commit 2c55bdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/twilio/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ class Call extends EventEmitter {
if (acktype === 'message') {
this._onMessageSent(voiceeventsid);
}
};
}

/**
* Called when the {@link Call} is answered.
Expand Down Expand Up @@ -1314,7 +1314,7 @@ class Call extends EventEmitter {
}

this.emit('messageReceived', {
content: content,
content,
contentType: contenttype,
messageType: messagetype,
voiceEventSid: voiceeventsid,
Expand All @@ -1333,7 +1333,7 @@ class Call extends EventEmitter {
const message = this._messages.get(voiceEventSid);
this._messages.delete(voiceEventSid);
this.emit('messageSent', message);
};
}

/**
* When we get a RINGING signal from PStream, update the {@link Call} status.
Expand Down Expand Up @@ -1389,7 +1389,7 @@ class Call extends EventEmitter {
this._messages.delete(voiceeventsid);
this._log.warn(`Received an error while sending a message.`, payload);
}
};
}

/**
* Called when signaling is restored
Expand Down
2 changes: 1 addition & 1 deletion lib/twilio/pstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ PStream.prototype.setToken = function(token) {
PStream.prototype.sendMessage = function(
callsid,
content,
contenttype='application/json',
contenttype = 'application/json',
messagetype,
voiceeventsid,
) {
Expand Down

0 comments on commit 2c55bdd

Please sign in to comment.