From c58c64c9e3cb8e6dd22b7f0374b8d48d5b83ad1d Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 14 Mar 2019 22:16:18 -0400 Subject: [PATCH] Fixed: Frontend OAuth Actions (Plex Auth) --- 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 ad8b0d755..07ada4a90 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; + }); } //