Tests for browsing of artists and albums

This commit is contained in:
simojenki
2021-03-01 12:46:23 +11:00
parent 0cb02707f1
commit 3b350c4402
12 changed files with 778 additions and 57 deletions

View File

@@ -71,7 +71,7 @@ function server(
app.post(LOGIN_ROUTE, (req, res) => {
const { username, password, linkCode } = req.body;
const authResult = musicService.login({
const authResult = musicService.generateToken({
username,
password,
});
@@ -107,7 +107,7 @@ function server(
res.send("");
});
bindSmapiSoapServiceToExpress(app, SOAP_PATH, webAddress, linkCodes);
bindSmapiSoapServiceToExpress(app, SOAP_PATH, webAddress, linkCodes, musicService);
return app;
}