Add profile data validation to get_or_import_profile_by_actor_id
This commit is contained in:
parent
848de1d685
commit
4e010f1698
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ pub async fn get_or_import_profile_by_actor_id(
|
|||
err
|
||||
})?;
|
||||
log::info!("fetched profile {}", profile_data.acct);
|
||||
profile_data.clean()?;
|
||||
let profile = create_profile(db_client, profile_data).await?;
|
||||
profile
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue