mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore:
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user