Explorar o código

Update Overseerr Plex auth endpoint

TheCatLady %!s(int64=5) %!d(string=hai) anos
pai
achega
60adea7e2b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {