Merge branch 'master' into dependabot/npm_and_yarn/cypress-4.12.0
This commit is contained in:
@@ -23,7 +23,7 @@ const axiosWithProxy = async (req, { state }) => {
|
||||
}
|
||||
)
|
||||
|
||||
if (!data.data.success) {
|
||||
if (!data.success) {
|
||||
throw new Error(data.data.message || "Proxy Error")
|
||||
}
|
||||
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user