diff --git a/docs/unsure-where-to-put/federation-architecture.md b/docs/unsure-where-to-put/federation-architecture.md index 8bacf88a6c..9c3cda2177 100644 --- a/docs/unsure-where-to-put/federation-architecture.md +++ b/docs/unsure-where-to-put/federation-architecture.md @@ -92,7 +92,7 @@ classDiagram Type UserType IsActive bool IsAdmin bool - NormalizedFederatedUri string + NormalizedFederatedURI string Validate() []string } diff --git a/services/federation/federation_service.go b/services/federation/federation_service.go index 68e9fbfde8..0b9d52b3f6 100644 --- a/services/federation/federation_service.go +++ b/services/federation/federation_service.go @@ -200,7 +200,7 @@ func CreateUserFromAP(ctx context.Context, personID fm.PersonID, federationHostI LoginName: loginName, Type: user.UserTypeRemoteUser, IsAdmin: false, - NormalizedFederatedUri: personID.AsURI(), + NormalizedFederatedURI: personID.AsURI(), } federatedUser := user.FederatedUser{ ExternalID: personID.ID,