From 696a0c8aad67fffbb91fe60d9d30cf24f0472d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Oko=C5=84ski?= Date: Sat, 31 Mar 2018 15:03:25 +0000 Subject: [PATCH] Changed try login to public function --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.js b/lib/client.js index 724be1d..7b9bd9b 100644 --- a/lib/client.js +++ b/lib/client.js @@ -97,7 +97,7 @@ function TidalAPI(authData) { * Try login using credentials. * @param {{username: String, password: String}} */ -function tryLogin(authInfo, cb) { +TidalApi.prototype.tryLogin = function (authInfo, cb) { /** * Logging? * @type {boolean}