Fix gobind build

This commit is contained in:
Neil Alexander 2020-08-04 14:12:50 +01:00
parent 9c2c19679d
commit c00bcb3826
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -131,7 +131,7 @@ func (m *DendriteMonolith) Start() {
)
asAPI := appservice.NewInternalAPI(base, userAPI, rsAPI)
stateAPI := currentstateserver.NewInternalAPI(base.Cfg, base.KafkaConsumer)
stateAPI := currentstateserver.NewInternalAPI(&base.Cfg.CurrentStateServer, base.KafkaConsumer)
fsAPI := federationsender.NewInternalAPI(
base, federation, rsAPI, stateAPI, keyRing,
)