Skip to content

Commit

Permalink
Merge pull request #45 from w6d-io/develop
Browse files Browse the repository at this point in the history
[ADD] debug for data deserialisattion
  • Loading branch information
nhaquet-w6d authored Nov 23, 2023
2 parents 56c8882 + 3c62ae9 commit 8ec658f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controller/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use anyhow::{anyhow, bail, Ok, Result};
use ory_kratos_client::models::Identity;
use serde_json::Value;

use tracing::{error, info};
use tracing::{error, info, debug};

use crate::config::SiriusConfig;

Expand All @@ -26,6 +26,7 @@ fn extract_projects(
mut data: Value,
request_id: &str,
) -> Result<()> {
debug!("{data:?}");
let data = data
.as_object_mut()
.ok_or_else(|| anyhow!("this should be a map!"))?;
Expand Down

0 comments on commit 8ec658f

Please sign in to comment.