summaryrefslogtreecommitdiff
path: root/internal/transport/finger.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/transport/finger.go')
-rw-r--r--internal/transport/finger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/transport/finger.go b/internal/transport/finger.go
index e6086747b..49648c7e9 100644
--- a/internal/transport/finger.go
+++ b/internal/transport/finger.go
@@ -156,7 +156,7 @@ func (t *transport) Finger(ctx context.Context, targetUsername string, targetDom
}
// We've reached the end of the line here, both the original request
// and our attempt to resolve it through the fallback have failed
- return nil, gtserror.NewResponseError(rsp)
+ return nil, gtserror.NewFromResponse(rsp)
}
// Set the URL in cache here, since host-meta told us this should be the