Fix follows

This commit is contained in:
Paul Frazee 2022-11-10 16:35:13 -06:00
parent d3707f30e3
commit f6b3e5f9e0
3 changed files with 25 additions and 15 deletions

View file

@ -98,7 +98,11 @@ export class ProfileViewModel {
this.myState.follow = undefined
})
} else {
const res = await apilib.follow(this.rootStore, this.did)
const res = await apilib.follow(
this.rootStore,
this.did,
this.declaration.cid,
)
runInAction(() => {
this.followersCount++
this.myState.follow = res.uri