Skip to content

Commit

Permalink
ridicilous
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidM42 committed Aug 18, 2017
1 parent 39f6839 commit 34f1fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webuntis.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const TIME_FORMAT = "hhmm";

let connectPromise = null;

function connect(creds, password, schoolname) {
function connect(creds, password, schoolname, servername) {
if(isObject(creds)) {
return connectPromise = rpc.setupWithObject(creds)
}

else return connectPromise = rpc.setup(creds, password, schoolname)
else return connectPromise = rpc.setup(creds, password, schoolname, servername)
}

function getTeachers() {
Expand Down

0 comments on commit 34f1fbc

Please sign in to comment.