Bot messages work

This commit is contained in:
Benjamin Sherriff
2023-10-06 10:55:48 -04:00
parent 04b52b4e7d
commit fa7c0f8163
11 changed files with 317 additions and 183 deletions

View File

@@ -181,8 +181,10 @@ async fn delete(id: web::Path<String>) -> HttpResponse {
}
pub fn init_routes(config: &mut web::ServiceConfig) {
config.service(get_all);
config.service(get_by_id);
config.service(create);
config.service(delete);
config.service(web::scope("dnd")
.service(get_all)
.service(get_by_id)
.service(create)
.service(update)
);
}