From c1e107266fc47e59657825f1178f5e79c78ab0e6 Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 24 Jun 2021 14:26:08 +0200 Subject: nodeinfo compliance (#61) --- internal/federation/finger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/federation') diff --git a/internal/federation/finger.go b/internal/federation/finger.go index 9afe83edf..047f8c95a 100644 --- a/internal/federation/finger.go +++ b/internal/federation/finger.go @@ -41,7 +41,7 @@ func (f *federator) FingerRemoteAccount(requestingUsername string, targetUsernam return nil, fmt.Errorf("FingerRemoteAccount: error doing request on behalf of username %s while dereferencing @%s@%s: %s", requestingUsername, targetUsername, targetDomain, err) } - resp := &apimodel.WebfingerAccountResponse{} + resp := &apimodel.WellKnownResponse{} if err := json.Unmarshal(b, resp); err != nil { return nil, fmt.Errorf("FingerRemoteAccount: could not unmarshal server response as WebfingerAccountResponse on behalf of username %s while dereferencing @%s@%s: %s", requestingUsername, targetUsername, targetDomain, err) } -- cgit v1.2.3