fix(maloja): Fix missing return value for auth test

This commit is contained in:
FoxxMD
2023-11-02 09:49:03 -04:00
parent 14ab6032f5
commit 3a25057d05
+1 -1
View File
@@ -265,7 +265,7 @@ export default class MalojaScrobbler extends AbstractScrobbleClient {
} = resp;
if (bodyStatus.toLocaleLowerCase() === 'ok') {
this.logger.info('Auth test passed!');
return;
return true;
} else {
this.logger.error('Testing connection failed => Server Response body was malformed -- should have returned "status: ok"...is the URL correct?', {
status,