refactor(api): rename Plex auth endpoint (#949)

This commit is contained in:
TheCatLady
2021-02-23 07:26:21 -05:00
committed by GitHub
parent 970da664b2
commit 09b5019e95
5 changed files with 38 additions and 33 deletions

View File

@@ -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();