From 3a6dfadcd0bfa0120dc38853feade91c2ef81d10 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Sun, 5 May 2024 17:10:16 +0200 Subject: [PATCH] linting --- docs/unsure-where-to-put/federation-architecture.md | 2 +- services/federation/federation_service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,