refactor(application): strip comments, DRY ownership check + parse_content_type
This commit is contained in:
@@ -4,7 +4,6 @@ use domain::DomainResult;
|
||||
use super::commands::UpsertProviderCommand;
|
||||
use super::deps::ProviderDeps;
|
||||
|
||||
/// Insert or update a provider configuration.
|
||||
pub async fn execute(deps: &ProviderDeps, cmd: UpsertProviderCommand) -> DomainResult<()> {
|
||||
let row = ProviderConfigRow::from_persistence(
|
||||
cmd.id,
|
||||
|
||||
Reference in New Issue
Block a user