1
Fork 0

Remove spurious argument to gotConnected.

This commit is contained in:
Juliusz Chroboczek 2023-03-22 18:18:43 +01:00
parent 58ef60f974
commit e47ca20a9f
1 changed files with 2 additions and 3 deletions

View File

@ -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',