Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add struct for CredentialStoreItem. #161

Conversation

pwochner
Copy link
Collaborator

@pwochner pwochner commented Dec 1, 2023

No description provided.

@@ -29,7 +29,8 @@ impl AppState {
pub fn new(config: HTTPConfig) -> Self {
let verifier = TrustchainVerifier::new(trustchain_resolver(DEFAULT_VERIFIER_ENDPOINT));
let path = std::env::var(TRUSTCHAIN_DATA).expect("TRUSTCHAIN_DATA env not set.");
let credentials: HashMap<String, Credential> = serde_json::from_reader(
let credentials: HashMap<String, CredentialStoreItem> = serde_json::from_reader(
// let credentials: HashMap<String, Credential> = serde_json::from_reader(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// let credentials: HashMap<String, Credential> = serde_json::from_reader(

Copy link
Collaborator

@thobson88 thobson88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thobson88 thobson88 merged commit db8ab2f into 115-selective-disclosure-ssi-update Dec 18, 2023
@thobson88 thobson88 deleted the 115-selective-disclosure-ssi-update-credential-store branch December 18, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants