Merge branch 'master' into dependabot/npm_and_yarn/cypress-4.12.0

This commit is contained in:
Andrew Bastin
2020-08-03 21:00:21 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ const axiosWithProxy = async (req, { state }) => {
}
)
if (!data.data.success) {
if (!data.success) {
throw new Error(data.data.message || "Proxy Error")
}

View File

@@ -27,7 +27,7 @@ const extensionWithProxy = async (req, { state }) => {
const parsedData = JSON.parse(data)
if (!parsedData.data.success) {
if (!parsedData.success) {
throw new Error(parsedData.data.message || "Proxy Error")
}