1
0

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

This commit is contained in:
syui 2024-05-23 02:17:18 +09:00
parent 9e69368b82
commit 1434be3f5e
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -572,9 +572,9 @@ pub fn c_bot_feed(c: &Context) {
let h = async {
let notify = feed_get::get_request(feed).await;
if notify == "err" {
//return;
refresh(c);
notify = feed_get::get_request("at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.generator/cmd".to_string()).await;
return;
//refresh(c);
//notify = feed_get::get_request("at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.generator/cmd".to_string()).await;
}
let timeline: Timeline = serde_json::from_str(&notify).unwrap();
let n = timeline.feed;