diff --git a/src/at/did_document.gleam b/src/at/did_document.gleam index 0b453f0..8fae7ce 100644 --- a/src/at/did_document.gleam +++ b/src/at/did_document.gleam @@ -216,7 +216,7 @@ pub fn pds(document: DidDocument) -> Result(Uri, Nil) { // array, with id ending `"#atproto_pds"`, and type matching `"AtprotoPersonalDataServer"`. // The first matching entry in the array should be used, and any others ignored. ServiceEndpoint( - id: did.Url(fragment: Some("atproto_pds"), ..), + id: did.Url(fragment: Some("#atproto_pds"), ..), type_: "AtprotoPersonalDataServer", service_endpoint:, ) -> @@ -243,7 +243,7 @@ pub fn signing_key(document: DidDocument) -> Result(String, Nil) { case method { EmbeddedVerificationMethod( - id: did.Url(fragment: Some("atproto"), ..), + id: did.Url(fragment: Some("#atproto"), ..), type_: "Multikey", public_key_jwk: None, public_key_multibase: Some(multibase),