diff --git a/src/components/Login/JellyfinLogin.tsx b/src/components/Login/JellyfinLogin.tsx index 621a59321..8f72f93a4 100644 --- a/src/components/Login/JellyfinLogin.tsx +++ b/src/components/Login/JellyfinLogin.tsx @@ -209,19 +209,18 @@ const JellyfinLogin = ({ revalidate, serverType }: JellyfinLoginProps) => { ); }} - { -
- -
- } + +
+ +
{showQuickConnect && ( { - await axios.post('/api/v1/auth/jellyfin/quickconnect', { + await axios.post('/api/v1/auth/jellyfin/quickconnect/authenticate', { secret, }); onAuthenticated(); diff --git a/src/hooks/useQuickConnect.ts b/src/hooks/useQuickConnect.ts index 933d09465..642ff2f15 100644 --- a/src/hooks/useQuickConnect.ts +++ b/src/hooks/useQuickConnect.ts @@ -60,7 +60,7 @@ export const useQuickConnect = ({ if (!isMounted.current) return; const errMsg = - error?.response?.data?.errorMessage || + error?.response?.data?.message || intl.formatMessage(messages.errorMessage); setErrorMessage(errMsg); setHasError(true);