fix: identity detail response uuid -> identity_uuid

This commit is contained in:
Accusys
2026-05-18 01:31:39 +08:00
parent e791da566f
commit a1f85de885

View File

@@ -230,7 +230,7 @@ async fn get_file_identities(
#[derive(Debug, Serialize)]
pub struct IdentityDetailResponse {
pub success: bool,
pub uuid: String,
pub identity_uuid: String,
pub name: String,
pub identity_type: Option<String>,
pub source: Option<String>,
@@ -262,7 +262,7 @@ async fn get_identity_detail(
match identity {
Some(i) => Ok(Json(IdentityDetailResponse {
success: true,
uuid: i.uuid,
identity_uuid: i.uuid,
name: i.name,
identity_type: i.identity_type,
source: i.source,