summaryrefslogtreecommitdiff
path: root/internal/federation/finger.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-06-24 14:26:08 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-24 14:26:08 +0200
commitc1e107266fc47e59657825f1178f5e79c78ab0e6 (patch)
tree1daa297f6e61bead4ed3d728fedc2a39604d377f /internal/federation/finger.go
parentTimeline bugfix (#60) (diff)
downloadgotosocial-c1e107266fc47e59657825f1178f5e79c78ab0e6.tar.xz
nodeinfo compliance (#61)
Diffstat (limited to 'internal/federation/finger.go')
-rw-r--r--internal/federation/finger.go2
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)
}