Handle recordWithMedia, refactor processPost function
All checks were successful
/ build (push) Successful in 2m20s

This commit is contained in:
Astra 2026-03-26 07:49:58 +00:00
parent e2faeaac75
commit e8b6e04239
3 changed files with 249 additions and 117 deletions

View file

@ -294,6 +294,6 @@ func (bluesky *Bluesky) FetchPost(did string, rkey string) FetchedPost {
}{
URIs: fmt.Sprintf("at://%s/app.bsky.feed.post/%s", did, rkey),
}
bluesky.sling.New().Get("/xrpc/app.bsky.feed.getPosts").QueryStruct(&params).Receive(resp, resp)
bluesky.publicSling.New().Get("/xrpc/app.bsky.feed.getPosts").QueryStruct(&params).Receive(resp, resp)
return resp.Posts[0]
}