fix: get bsky post url correctly
All checks were successful
create archive with lfs / tag (push) Successful in 10s
All checks were successful
create archive with lfs / tag (push) Successful in 10s
This commit is contained in:
parent
5aafcdc979
commit
5a66555b3b
@ -17,11 +17,11 @@ export const postToBsky = async (text: string) => {
|
||||
let client = await getBskyClient()
|
||||
const rt = new RichText({ text })
|
||||
await rt.detectFacets(client)
|
||||
const {uri} = await client.post({
|
||||
const {cid} = await client.post({
|
||||
text: rt.text,
|
||||
facets: rt.facets,
|
||||
})
|
||||
return uri
|
||||
return `https://bsky.gaze.systems/post/${cid}`
|
||||
}
|
||||
|
||||
const loginToBsky = async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user