mirror of
https://github.com/hlt1995/qlScripts.git
synced 2026-11-05 23:26:44 +08:00
Update sendNotify_251126.js
This commit is contained in:
1 parent
462d502a2a
commit
5c67cf5588
1 file changed
+2
-1
@@ -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 [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user