diff options
Diffstat (limited to 'internal/federation')
-rw-r--r-- | internal/federation/finger.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |