about summary refs log tree commit diff
path: root/src/state/models/profile-view.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/profile-view.ts')
-rw-r--r--src/state/models/profile-view.ts6
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