add: user stacks
This commit is contained in:
parent
8c3024cb40
commit
75d72460ae
28 changed files with 1028 additions and 9 deletions
|
@ -3,6 +3,7 @@ pub mod communities;
|
|||
pub mod misc;
|
||||
pub mod mod_panel;
|
||||
pub mod profile;
|
||||
pub mod stacks;
|
||||
|
||||
#[cfg(feature = "redis")]
|
||||
pub mod chats;
|
||||
|
@ -104,6 +105,10 @@ pub fn routes() -> Router {
|
|||
"/chats/{community}/{channel}/_channels",
|
||||
get(chats::channels_request),
|
||||
)
|
||||
// stacks
|
||||
.route("/stacks", get(stacks::list_request))
|
||||
.route("/stacks/{id}", get(stacks::posts_request))
|
||||
.route("/stacks/{id}/manage", get(stacks::manage_request))
|
||||
}
|
||||
|
||||
pub async fn render_error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue