Browse Source

change login check from getUsers -> getScanStatus

master
jeffvli 3 years ago
parent
commit
b8c8cbbc0b
  1. 2
      src/components/settings/Login.tsx

2
src/components/settings/Login.tsx

@ -23,7 +23,7 @@ const Login = () => {
try { try {
const testConnection = await axios.get( const testConnection = await axios.get(
`${cleanServerName}/rest/getUsers?v=1.15.0&c=sonixd&f=json&u=${userName}&s=${salt}&t=${hash}` `${cleanServerName}/rest/getScanStatus?v=1.15.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 // Since a valid request will return a 200 response, we need to check that there

Loading…
Cancel
Save