add: user follow requests
add: nsfw questions fix: inherit nsfw status from questions fix: inherit community from questions
This commit is contained in:
parent
d6c7372610
commit
ad17acec98
24 changed files with 492 additions and 59 deletions
|
@ -118,6 +118,14 @@ pub fn routes() -> Router {
|
|||
.route("/auth/user/{id}/avatar", get(auth::images::avatar_request))
|
||||
.route("/auth/user/{id}/banner", get(auth::images::banner_request))
|
||||
.route("/auth/user/{id}/follow", post(auth::social::follow_request))
|
||||
.route(
|
||||
"/auth/user/{id}/follow/cancel",
|
||||
post(auth::social::cancel_follow_request),
|
||||
)
|
||||
.route(
|
||||
"/auth/user/{id}/follow/accept",
|
||||
post(auth::social::accept_follow_request),
|
||||
)
|
||||
.route("/auth/user/{id}/block", post(auth::social::block_request))
|
||||
.route(
|
||||
"/auth/user/{id}/settings",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue