diff options
Diffstat (limited to 'src/state/models/profile-view.ts')
-rw-r--r-- | src/state/models/profile-view.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/state/models/profile-view.ts b/src/state/models/profile-view.ts index 24d49c112..7a85d06ae 100644 --- a/src/state/models/profile-view.ts +++ b/src/state/models/profile-view.ts @@ -74,9 +74,7 @@ export class ProfileViewModel { throw new Error('Not logged in') } if (this.myState.follow) { - await apilib.unfollow(this.rootStore.api, this.rootStore.me.did, { - did: this.did, - }) + await apilib.unfollow(this.rootStore.api, this.myState.follow) runInAction(() => { this.followersCount-- this.myState.follow = undefined |