Can delete a single account

This commit is contained in:
2025-04-07 20:56:42 +02:00
parent 7c10e3ca5c
commit 559eadfd05
2 changed files with 10 additions and 4 deletions

View File

@ -108,11 +108,10 @@ async fn main() -> std::io::Result<()> {
web::get().to(accounts_controller::get_single),
)
// TODO : update account
//TODO
/*.route(
"/api/accounts/{account_id}",
.route(
"/api/account/{account_id}",
web::delete().to(accounts_controller::delete),
)*/
)
// TODO : set as default
// Static assets
.route("/", web::get().to(static_controller::root_index))