Implement profile updates

This commit is contained in:
Paul Frazee
2022-11-11 14:15:43 -06:00
parent 3a6bb19cad
commit 04b081bbd7
9 changed files with 24 additions and 33 deletions
+7 -1
View File
@@ -43,7 +43,13 @@ export function Component({}: {}) {
handle: fullHandle,
})
// set the scene profile
// TODO
await store.api.app.bsky.actor
.updateProfile({
did: createSceneRes.data.did,
displayName,
description,
})
.catch(e => console.error(e)) // an error here is not critical
// follow the scene
await store.api.app.bsky.graph.follow
.create(