Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit ddb56ed8 authored by Christian Raphael Heryanto's avatar Christian Raphael Heryanto
Browse files

Fix typing error in code

parent 11a3fc5a
No related branches found
No related tags found
No related merge requests found
......@@ -43,10 +43,9 @@ impl ProductService {
String::from("Product not found."),
));
}
NotificationService.notify(&product.product_type, "DELETED", product.clone());
let product: Product = product_opt.unwrap();
NotificationService.notify(&product.product_type, "DELETED", product.clone());
return Ok(Json::from(product));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment