Commit e47ca20a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove spurious argument to gotConnected.

parent 58ef60f9
...@@ -297,10 +297,9 @@ function setConnected(connected) { ...@@ -297,10 +297,9 @@ function setConnected(connected) {
/** /**
* @this {ServerConnection} * @this {ServerConnection}
* @param {string} [username]
*/ */
async function gotConnected(username) { async function gotConnected() {
let credentials; let username, credentials;
if(token) { if(token) {
credentials = { credentials = {
type: 'token', type: 'token',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment