mirror of
https://github.com/certd/certd.git
synced 2026-04-16 05:50:50 +08:00
chore:
This commit is contained in:
@@ -65,7 +65,7 @@ export class UpyunClient {
|
||||
Cookie: req.cookie
|
||||
}
|
||||
});
|
||||
if (res.msg.errors.length > 0) {
|
||||
if (res.msg?.errors?.length > 0) {
|
||||
throw new Error(JSON.stringify(res.msg));
|
||||
}
|
||||
if(res.data?.error_code){
|
||||
|
||||
Reference in New Issue
Block a user