Fix Proxy error issue #1027
This commit is contained in:
parent
d2a57864f0
commit
ebf7b32408
2 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue