Add a way to block / unblock users.

This commit is contained in:
Paul Makles
2020-04-10 13:26:58 +01:00
parent a910bd657a
commit 7fb2a1a8c1
2 changed files with 175 additions and 9 deletions

View File

@@ -81,7 +81,9 @@ pub fn mount(rocket: Rocket) -> Rocket {
user::get_friends,
user::get_friend,
user::add_friend,
user::remove_friend
user::remove_friend,
user::block_user,
user::unblock_user
],
)
.mount(