remove unused arguments

This commit is contained in:
Robert Brignull 2020-08-11 13:56:23 +01:00
parent 34b372292b
commit cf08f5a9cd
8 changed files with 11 additions and 30 deletions

5
lib/api-client.js generated
View file

@ -32,11 +32,6 @@ function parseAuth(auth) {
const c = auth.indexOf(':');
if (c !== -1) {
return 'basic ' + Buffer.from(auth).toString('base64');
// return {
// username: auth.substring(0, c),
// password: auth.substring(c + 1),
// on2fa: async () => { throw new Error(''); }
// };
}
// Otherwise use the token as it is
return auth;