Can join a family

This commit is contained in:
2023-06-17 18:55:07 +02:00
parent 93436fbc09
commit c2e93aebbe
4 changed files with 70 additions and 4 deletions

View File

@ -91,6 +91,7 @@ async fn main() -> std::io::Result<()> {
"/family/create",
web::post().to(families_controller::create),
)
.route("/family/join", web::post().to(families_controller::join))
})
.bind(AppConfig::get().listen_address.as_str())?
.run()