fix: identity detail response uuid -> identity_uuid
This commit is contained in:
@@ -230,7 +230,7 @@ async fn get_file_identities(
|
|||||||
#[derive(Debug, Serialize)]
|
#[derive(Debug, Serialize)]
|
||||||
pub struct IdentityDetailResponse {
|
pub struct IdentityDetailResponse {
|
||||||
pub success: bool,
|
pub success: bool,
|
||||||
pub uuid: String,
|
pub identity_uuid: String,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub identity_type: Option<String>,
|
pub identity_type: Option<String>,
|
||||||
pub source: Option<String>,
|
pub source: Option<String>,
|
||||||
@@ -262,7 +262,7 @@ async fn get_identity_detail(
|
|||||||
match identity {
|
match identity {
|
||||||
Some(i) => Ok(Json(IdentityDetailResponse {
|
Some(i) => Ok(Json(IdentityDetailResponse {
|
||||||
success: true,
|
success: true,
|
||||||
uuid: i.uuid,
|
identity_uuid: i.uuid,
|
||||||
name: i.name,
|
name: i.name,
|
||||||
identity_type: i.identity_type,
|
identity_type: i.identity_type,
|
||||||
source: i.source,
|
source: i.source,
|
||||||
|
|||||||
Reference in New Issue
Block a user