Răsfoiți Sursa

Update Overseerr Plex auth endpoint

TheCatLady 5 ani în urmă
părinte
comite
60adea7e2b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      api/functions/sso-functions.php

+ 1 - 1
api/functions/sso-functions.php

@@ -171,7 +171,7 @@ trait SSOFunctions
 				//"password" => ($oAuthToken ? "" : $password), // not needed yet
 				"authToken" => $oAuthToken
 			);
-			$endpoint = '/api/v1/auth/login';
+			$endpoint = '/api/v1/auth/plex';
 			$options = $this->requestOptions($url, false, 60);
 			$response = Requests::post($url . $endpoint, $headers, json_encode($data), $options);
 			if ($response->success) {