diff --git a/server/accounting/qbo/qbo-callback.js b/server/accounting/qbo/qbo-callback.js index d29c7c778..761c872d2 100644 --- a/server/accounting/qbo/qbo-callback.js +++ b/server/accounting/qbo/qbo-callback.js @@ -38,7 +38,7 @@ exports.default = async (req, res) => { error: authResponse.json, }); res.redirect( - `${url}:3000/manage/accounting/qbo?error=${encodeURIComponent( + `${url}/manage/accounting/qbo?error=${encodeURIComponent( JSON.stringify(authResponse.json) )}` ); @@ -56,7 +56,7 @@ exports.default = async (req, res) => { ); res.redirect( - `${url}:3000/manage/accounting/qbo?${queryString.stringify(params)}` + `${url}/manage/accounting/qbo?${queryString.stringify(params)}` ); } } catch (e) {