Explicit setting submission=false on nowPlaying call to navidrome

This commit is contained in:
simojenki
2021-07-09 10:48:30 +10:00
parent d08711529e
commit d232bfc002
2 changed files with 3 additions and 0 deletions

View File

@@ -635,6 +635,7 @@ export class Navidrome implements MusicService {
navidrome
.get(credentials, `/rest/scrobble`, {
id,
submission: false,
})
.then((_) => true)
.catch(() => false),

View File

@@ -2763,6 +2763,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id,
submission: false,
}),
headers,
});
@@ -2794,6 +2795,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id,
submission: false,
}),
headers,
});