Add delete route for bots. Closes #8.

This commit is contained in:
Paul
2021-08-12 14:28:46 +01:00
parent bd3606176a
commit b3bdf403cf
3 changed files with 67 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ mod fetch_public;
mod fetch;
mod fetch_owned;
mod edit;
mod delete;
pub fn routes() -> Vec<Route> {
routes![
@@ -15,5 +16,6 @@ pub fn routes() -> Vec<Route> {
fetch::fetch_bot,
fetch_owned::fetch_owned_bots,
edit::edit_bot,
delete::delete_bot,
]
}