aboutsummaryrefslogtreecommitdiff
path: root/common/basecomponent/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/basecomponent/base.go')
-rw-r--r--common/basecomponent/base.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/basecomponent/base.go b/common/basecomponent/base.go
index 5e2d659b..f245dd50 100644
--- a/common/basecomponent/base.go
+++ b/common/basecomponent/base.go
@@ -149,12 +149,12 @@ func (b *BaseDendrite) CreateHTTPEDUServerAPIs() eduServerAPI.EDUServerInputAPI
return e
}
-// CreateHTTPFederationSenderAPIs returns FederationSenderQueryAPI for hitting
+// CreateHTTPFederationSenderAPIs returns FederationSenderInternalAPI for hitting
// the federation sender over HTTP
-func (b *BaseDendrite) CreateHTTPFederationSenderAPIs() federationSenderAPI.FederationSenderQueryAPI {
- f, err := federationSenderAPI.NewFederationSenderQueryAPIHTTP(b.Cfg.FederationSenderURL(), b.httpClient)
+func (b *BaseDendrite) CreateHTTPFederationSenderAPIs() federationSenderAPI.FederationSenderInternalAPI {
+ f, err := federationSenderAPI.NewFederationSenderInternalAPIHTTP(b.Cfg.FederationSenderURL(), b.httpClient)
if err != nil {
- logrus.WithError(err).Panic("NewFederationSenderQueryAPIHTTP failed", b.httpClient)
+ logrus.WithError(err).Panic("NewFederationSenderInternalAPIHTTP failed", b.httpClient)
}
return f
}