Skip to content

Commit

Permalink
TECH-292 - Add consent message
Browse files Browse the repository at this point in the history
  • Loading branch information
TYRONEMICHAEL committed Aug 8, 2024
1 parent dae1ca5 commit af9a2b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/civic_canister_backend/src/consent_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ use vc_util::issuer_api::{
use SupportedLanguage::{English, German};

/// Consent messages for the CivicPass VC to be shown and approved to the user during the VC sharing flow
const CIVIC_PASS_VC_DESCRIPTION_EN: &str = r###"# Verifiable Credential
const VC_DESCRIPTION_EN: &str = r###"# Verifiable Credential
Credential that states that the holder possesses a Verifiable Credential."###;
const CIVIC_PASS_VC_DESCRIPTION_DE: &str = r###"# Verifiable Credential
const VC_DESCRIPTION_DE: &str = r###"# Verifiable Credential
Bescheinigung, aus der hervorgeht, dass der Inhaber einen Verifiable Credential besitzt."###;

Expand All @@ -22,11 +22,11 @@ lazy_static! {
HashMap::from([
(
(CredentialTemplateType::Credential, English),
CIVIC_PASS_VC_DESCRIPTION_EN
VC_DESCRIPTION_EN
),
(
(CredentialTemplateType::Credential, German),
CIVIC_PASS_VC_DESCRIPTION_DE
VC_DESCRIPTION_DE
)
]);
}
Expand Down

0 comments on commit af9a2b4

Please sign in to comment.