1
0

fix
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
syui 2024-03-30 11:39:10 +09:00
parent c12a9fe8ec
commit 65cd74fdb5
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -17,10 +17,10 @@ use crate::data::Notify;
pub fn c_bot(c: &Context) {
let h = async {
let mut notify = notify::get_request(100).await;
let mut notify = notify::get_request(50).await;
if notify == "err" {
refresh(c);
notify = notify::get_request(100).await;
notify = notify::get_request(50).await;
}
let notify: Notify = serde_json::from_str(&notify).unwrap();
let host = data_toml(&"host");