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