mirror of https://github.com/certd/certd
chore:
parent
f6ea9c1300
commit
40475e02ec
|
@ -65,7 +65,7 @@ export class UpyunClient {
|
||||||
Cookie: req.cookie
|
Cookie: req.cookie
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (res.msg.errors.length > 0) {
|
if (res.msg?.errors?.length > 0) {
|
||||||
throw new Error(JSON.stringify(res.msg));
|
throw new Error(JSON.stringify(res.msg));
|
||||||
}
|
}
|
||||||
if(res.data?.error_code){
|
if(res.data?.error_code){
|
||||||
|
|
Loading…
Reference in New Issue