From bdad6da6d94084de844bf23ba766d5b3085c6f8a Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Wed, 13 Oct 2021 13:35:42 -0700 Subject: [PATCH] QB URL Fix. --- server/accounting/qbo/qbo-callback.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/accounting/qbo/qbo-callback.js b/server/accounting/qbo/qbo-callback.js index ae07b996a..13483c663 100644 --- a/server/accounting/qbo/qbo-callback.js +++ b/server/accounting/qbo/qbo-callback.js @@ -14,9 +14,9 @@ const queryString = require("query-string"); let qbEnv; if (process.env.NODE_ENV === "production") { - url = "production"; + qbEnv = "production"; } else { - url = `sandbox`; + qbEnv = `sandbox`; } const oauthClient = new OAuthClient({