fix: identity detail response uuid -> identity_uuid
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user