[frontend] Add RemoveUserFromFollowers to UserControllerModel
This commit is contained in:
parent
e10fafa805
commit
f2387a8738
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ internal class UserControllerModel(ApiClient api)
|
|||
public Task BiteUser(string id) =>
|
||||
api.Call(HttpMethod.Post, $"/users/{id}/bite");
|
||||
|
||||
public Task<bool> FollowUser(string id) => api.CallNullable(HttpMethod.Post, $"/users/{id}/follow");
|
||||
public Task<bool> FollowUser(string id) => api.CallNullable(HttpMethod.Post, $"/users/{id}/follow");
|
||||
public Task<bool> RemoveUserFromFollowers(string id) => api.CallNullable(HttpMethod.Post, $"/users/{id}/remove_from_followers");
|
||||
public Task<bool> UnfollowUser(string id) => api.CallNullable(HttpMethod.Post, $"/users/{id}/unfollow");
|
||||
}
|
Loading…
Add table
Reference in a new issue