Can update couple information

This commit is contained in:
2023-08-07 19:28:44 +02:00
parent 4997132bf8
commit ea84c45e8a
3 changed files with 19 additions and 1 deletions

View File

@ -175,6 +175,10 @@ async fn main() -> std::io::Result<()> {
"/family/{id}/couple/{couple_id}",
web::get().to(couples_controller::get_single),
)
.route(
"/family/{id}/couple/{couple_id}",
web::put().to(couples_controller::update),
)
// Photos controller
.route(
"/photo/{id}",