Can update inbox entry information
This commit is contained in:
@ -162,6 +162,10 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/inbox/{inbox_id}",
|
||||
web::get().to(inbox_controller::get_single),
|
||||
)
|
||||
.route(
|
||||
"/api/inbox/{inbox_id}",
|
||||
web::put().to(inbox_controller::update),
|
||||
)
|
||||
// Statistics controller
|
||||
.route("/api/stats/global", web::get().to(stats_controller::global))
|
||||
.route(
|
||||
|
Reference in New Issue
Block a user