mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:16:15 -06:00
remove type switch in Create() and instead move to FederatedCallbacks()
This commit is contained in:
parent
7b7fc528f1
commit
3be7f3866a
13 changed files with 581 additions and 432 deletions
|
|
@ -404,7 +404,8 @@ func (f *Federator) callForPubKey(
|
|||
pubKeyID *url.URL,
|
||||
) ([]byte, gtserror.WithCode) {
|
||||
// Use a transport to dereference the remote.
|
||||
trans, err := f.transportController.NewTransportForUsername(
|
||||
trans, err := f.transport.NewTransportForUsername(
|
||||
|
||||
// We're on a hot path: don't retry if req fails.
|
||||
gtscontext.SetFastFail(ctx),
|
||||
requestedUsername,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue