Update sendNotify_251126.js

This commit is contained in:
hlt1995 authored and GitHub committed 2025-11-27 10:51:40 +08:00
1 parent 462d502a2a
commit 5c67cf5588
1 file changed
+2 -1
+2 -1
View File
@@ -2278,9 +2278,10 @@ async function getEnvs(){
authorization: `Bearer ${token}`,
},
}).json();
console.log(`获取环境变量成功!`);
return body.data || [];
} catch (err) {
console.log(`获取环境变量失败: ${err.message}`);
console.log(`获取环境变量失败: ${err.message}\n`);
return [];
}
}