From a30d9a1af2d271362f57e6ca053d543680a9139e Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 14 Mar 2019 00:53:31 -0700 Subject: [PATCH] Fixed: Plex authentication --- frontend/src/Store/Actions/oAuthActions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Store/Actions/oAuthActions.js b/frontend/src/Store/Actions/oAuthActions.js index e8c291019..94e43645f 100644 --- a/frontend/src/Store/Actions/oAuthActions.js +++ b/frontend/src/Store/Actions/oAuthActions.js @@ -89,7 +89,7 @@ function showOAuthWindow(url, payload) { } function executeIntermediateRequest(payload, ajaxOptions) { - return createAjaxRequest(ajaxOptions).then((data) => { + return createAjaxRequest(ajaxOptions).request.then((data) => { return requestAction({ action: 'continueOAuth', queryParams: { @@ -98,7 +98,7 @@ function executeIntermediateRequest(payload, ajaxOptions) { }, ...payload }); - }).request; + }); } //