Can update couple information
This commit is contained in:
@ -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}",
|
||||
|
Reference in New Issue
Block a user