export feature
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
use domain::{errors::DomainError, value_objects::{ReviewId, UserId}};
|
||||
use crate::{commands::DeleteReviewCommand, context::AppContext};
|
||||
use domain::{
|
||||
errors::DomainError,
|
||||
value_objects::{ReviewId, UserId},
|
||||
};
|
||||
|
||||
pub async fn execute(ctx: &AppContext, cmd: DeleteReviewCommand) -> Result<(), DomainError> {
|
||||
let review_id = ReviewId::from_uuid(cmd.review_id);
|
||||
|
||||
Reference in New Issue
Block a user