Can import basic data
This commit is contained in:
@ -196,6 +196,10 @@ async fn main() -> std::io::Result<()> {
|
||||
"/family/{id}/data/export",
|
||||
web::get().to(data_controller::export_family),
|
||||
)
|
||||
.route(
|
||||
"/family/{id}/data/import",
|
||||
web::put().to(data_controller::import_family),
|
||||
)
|
||||
// Photos controller
|
||||
.route(
|
||||
"/photo/{id}",
|
||||
|
Reference in New Issue
Block a user