diff options
Diffstat (limited to 'dichroism/src/main.rs')
-rw-r--r-- | dichroism/src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dichroism/src/main.rs b/dichroism/src/main.rs index c255717..68b7091 100644 --- a/dichroism/src/main.rs +++ b/dichroism/src/main.rs @@ -16,6 +16,7 @@ mod constants; mod dtos; mod error; mod handlers; +mod image_service; mod models; mod repo; mod result; @@ -34,8 +35,8 @@ async fn main() -> Result<()> { .data(pool.clone()) .service(handlers::hello) .service(handlers::get_products) - .service(handlers::update_product) - .service(handlers::create_product) + .service(handlers::patch_product) + .service(handlers::post_product) }); // If using listenfd, bind to it instead of the configured address to allow for cargo watch |