From c00bcb38268750d8377443b27db53e9215929fbe Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 4 Aug 2020 14:12:50 +0100 Subject: [PATCH] Fix gobind build --- build/gobind/monolith.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/gobind/monolith.go b/build/gobind/monolith.go index 4f8681db2..e778764ca 100644 --- a/build/gobind/monolith.go +++ b/build/gobind/monolith.go @@ -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, )