Skip to main content

sync_user_avatar_ref

Function sync_user_avatar_ref 

Source
pub(crate) async fn sync_user_avatar_ref(
    tx: &Transaction<'_>,
    user_id: i32,
    asset_id: Option<Uuid>,
) -> Result<(), AppError>
Expand description

用户头像引用改为 asset_id(None 表示无本地头像引用)。