added sharing and subscriptions

This commit is contained in:
2026-06-17 23:27:37 +02:00
parent 148e441425
commit 8a614cb1d1
16 changed files with 1019 additions and 26 deletions
+2
View File
@@ -11,6 +11,7 @@ use crate::models::UserSettings;
use crate::state::AppState;
mod lists;
mod subs;
pub fn router() -> Router<AppState> {
Router::new()
@@ -18,6 +19,7 @@ pub fn router() -> Router<AppState> {
.route("/settings", patch(update_settings))
.route("/profile", patch(update_profile))
.merge(lists::router())
.merge(subs::router())
}
async fn health() -> Json<Value> {