mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-09-03 05:10:00 +03:00
fix(maloja): Fix missing return value for auth test
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user