Skip to content

Commit

Permalink
fix delete
Browse files Browse the repository at this point in the history
  • Loading branch information
n1nj4t4nuk1 committed Dec 4, 2024
1 parent f65e55f commit 3432703
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ impl <R: CveRepository, E: EventBus> CommandHandler for DeleteCveCommandHandler<

match self.deleter.run(id).await {
Ok(_) => CveCommandResponse::boxed_ok(),
Err(err) => CveCommandResponse::boxed_err(err)
Err(err) => CveCommandResponse::boxed_err(err),
}
}

fn subscribet_to(&self) -> String {
return DeleteCveCommand::COMMAND_TYPE.to_string();
return DeleteCveCommand::COMMAND_TYPE.to_string();
}
}

Expand Down

0 comments on commit 3432703

Please sign in to comment.