mirror of
https://github.com/sct/overseerr.git
synced 2025-12-26 16:27:17 +01:00
refactor(api): rename Plex auth endpoint (#949)
This commit is contained in:
@@ -23,7 +23,7 @@ const LoginWithPlex: React.FC<LoginWithPlexProps> = ({ onComplete }) => {
|
||||
|
||||
useEffect(() => {
|
||||
const login = async () => {
|
||||
const response = await axios.post('/api/v1/auth/login', { authToken });
|
||||
const response = await axios.post('/api/v1/auth/plex', { authToken });
|
||||
|
||||
if (response.data?.email) {
|
||||
revalidate();
|
||||
|
||||
Reference in New Issue
Block a user