update: pipeline, search, clip, embedding fixes
This commit is contained in:
@@ -114,6 +114,13 @@ pub async fn bind_identity(
|
||||
)
|
||||
})?;
|
||||
|
||||
let uuid_clean = identity_uuid.replace('-', "");
|
||||
if let Ok(ref db) = PostgresDb::init().await {
|
||||
if let Err(e) = crate::core::identity::storage::save_identity_file(db, &uuid_clean).await {
|
||||
tracing::warn!("[bind] Failed to save identity file for {}: {}", uuid_clean, e);
|
||||
}
|
||||
}
|
||||
|
||||
Ok(Json(ApiResponse {
|
||||
success: true,
|
||||
message: format!(
|
||||
|
||||
Reference in New Issue
Block a user