diff --git a/src/components/Setup/LoginWithPlex.tsx b/src/components/Setup/LoginWithPlex.tsx index 3dc0404e2..d62db786b 100644 --- a/src/components/Setup/LoginWithPlex.tsx +++ b/src/components/Setup/LoginWithPlex.tsx @@ -25,7 +25,7 @@ const LoginWithPlex: React.FC = ({ onComplete }) => { const login = async () => { const response = await axios.post('/api/v1/auth/plex', { authToken }); - if (response.data?.email) { + if (response.data?.id) { revalidate(); } };