Skip to content

Commit

Permalink
Add forceUpdate argument to call
Browse files Browse the repository at this point in the history
  • Loading branch information
markocic committed Nov 28, 2024
1 parent c81067c commit fbe9c92
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,13 @@ class ArticleDetailsViewModel @Inject constructor(
profileRepository.unfollow(
userId = activeAccountStore.activeUserId(),
unfollowedUserId = article.authorId,
forceUpdate = false,
)
} else {
profileRepository.follow(
userId = activeAccountStore.activeUserId(),
followedUserId = article.authorId,
forceUpdate = false,
)
}
}
Expand Down

0 comments on commit fbe9c92

Please sign in to comment.