diff --git a/crates/username_registry_coordinator/src/external_id_attestation.rs b/crates/username_registry_coordinator/src/external_id_attestation.rs index 2e0b1dd..7d0ff01 100644 --- a/crates/username_registry_coordinator/src/external_id_attestation.rs +++ b/crates/username_registry_coordinator/src/external_id_attestation.rs @@ -228,15 +228,15 @@ pub fn delete_external_id_attestation( delete_entry(original_attestation_hash) } -/// Add your agent to the global external ID attestors list. The tag is used to indicate the -/// identity provider for which you attest identities. +/// Add your agent to the global external ID attestors list. The `provider_name` is used to +/// indicate the identity provider for which you attest identities. #[hdk_extern] -pub fn register_as_external_id_attestor(tag: String) -> ExternResult { +pub fn register_as_external_id_attestor(provider_name: String) -> ExternResult { create_link( hash_identifier("all_external_id_attestors".into())?, agent_info()?.agent_initial_pubkey, LinkTypes::ExternalIdAttestor, - tag, + provider_name, ) }