fix down feed-generator
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
parent
bf31cf2a8f
commit
b540d0c007
@ -1 +1 @@
|
|||||||
Subproject commit 35a52142b66b8a5cff47ec1571e710ca8402af0b
|
Subproject commit 708130762787cd1b19dd0986612d32de5347747c
|
@ -570,10 +570,11 @@ pub fn c_bot_feed(c: &Context) {
|
|||||||
feed = c.string_flag("feed").unwrap();
|
feed = c.string_flag("feed").unwrap();
|
||||||
}
|
}
|
||||||
let h = async {
|
let h = async {
|
||||||
let mut notify = feed_get::get_request(feed).await;
|
let notify = feed_get::get_request(feed).await;
|
||||||
if notify == "err" {
|
if notify == "err" {
|
||||||
refresh(c);
|
return;
|
||||||
notify = feed_get::get_request("at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.generator/cmd".to_string()).await;
|
//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(¬ify).unwrap();
|
let timeline: Timeline = serde_json::from_str(¬ify).unwrap();
|
||||||
let n = timeline.feed;
|
let n = timeline.feed;
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
ai l $HANDLE -p $PASSWORD -s $HOST && ai bot -a $ADMIN --manga_uri $MANGA_URI
|
ai l $HANDLE -p $PASSWORD -s $HOST && ai bot -a $ADMIN
|
||||||
|
Loading…
Reference in New Issue
Block a user