From f6b3e5f9e05801f26b6d34e8868a4c5debd618a9 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 10 Nov 2022 16:35:13 -0600 Subject: Fix follows --- src/state/models/profile-view.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/state/models/profile-view.ts') 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 -- cgit 1.4.1