QBO port fix.

This commit is contained in:
Patrick Fic
2021-10-13 13:25:15 -07:00
parent 944229bae3
commit c19c92ab7e

View File

@@ -38,7 +38,7 @@ exports.default = async (req, res) => {
error: authResponse.json, error: authResponse.json,
}); });
res.redirect( res.redirect(
`${url}:3000/manage/accounting/qbo?error=${encodeURIComponent( `${url}/manage/accounting/qbo?error=${encodeURIComponent(
JSON.stringify(authResponse.json) JSON.stringify(authResponse.json)
)}` )}`
); );
@@ -56,7 +56,7 @@ exports.default = async (req, res) => {
); );
res.redirect( res.redirect(
`${url}:3000/manage/accounting/qbo?${queryString.stringify(params)}` `${url}/manage/accounting/qbo?${queryString.stringify(params)}`
); );
} }
} catch (e) { } catch (e) {