diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-10 16:35:13 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-10 16:35:13 -0600 |
commit | f6b3e5f9e05801f26b6d34e8868a4c5debd618a9 (patch) | |
tree | 65226ef4c88bc9d6a7571e9da76b69506d774ddb /src/state/models/profile-view.ts | |
parent | d3707f30e30bb717e95b27cc83a1121815b475b5 (diff) | |
download | voidsky-f6b3e5f9e05801f26b6d34e8868a4c5debd618a9.tar.zst |
Fix follows
Diffstat (limited to 'src/state/models/profile-view.ts')
-rw-r--r-- | src/state/models/profile-view.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/state/models/profile-view.ts b/src/state/models/profile-view.ts index 4df338fc0..a64c07339 100644 --- a/src/state/models/profile-view.ts +++ b/src/state/models/profile-view.ts @@ -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 |