Change Subsonic API version for server support

- 1.15.0 -> 1.13.0
This commit is contained in:
jeffvli
2021-12-19 20:43:52 -08:00
committed by Jeff
parent 35bf0f81a3
commit 868c878b99
2 changed files with 11 additions and 11 deletions

View File

@@ -37,10 +37,10 @@ const Login = () => {
try {
const testConnection = legacyAuth
? await axios.get(
`${cleanServerName}/rest/ping?v=1.15.0&c=sonixd&f=json&u=${userName}&p=${password}`
`${cleanServerName}/rest/ping?v=1.13.0&c=sonixd&f=json&u=${userName}&p=${password}`
)
: await axios.get(
`${cleanServerName}/rest/ping?v=1.15.0&c=sonixd&f=json&u=${userName}&s=${salt}&t=${hash}`
`${cleanServerName}/rest/ping?v=1.13.0&c=sonixd&f=json&u=${userName}&s=${salt}&t=${hash}`
);
// Since a valid request will return a 200 response, we need to check that there