Skip to content

Commit

Permalink
Remove unnecessary info param from JS samples (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiham authored and Adam Ullman committed Jun 16, 2017
1 parent 0e24da5 commit 625795e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sample/Archiving/public/js/host.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var session = OT.initSession(apiKey, sessionId),
publisher = OT.initPublisher('publisher'),
archiveID = null;

session.connect(token, function(error, info) {
session.connect(token, function(error) {
if (error) {
console.error('Failed to connect', error);
} else {
Expand Down
2 changes: 1 addition & 1 deletion sample/Archiving/public/js/participant.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var session = OT.initSession(apiKey, sessionId),
publisher = OT.initPublisher('publisher');

session.connect(token, function(error, info) {
session.connect(token, function(error) {
if (error) {
console.error('Failed to connect', error);
} else {
Expand Down

0 comments on commit 625795e

Please sign in to comment.