aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-sync-api-server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendrite-sync-api-server/main.go')
-rw-r--r--cmd/dendrite-sync-api-server/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/dendrite-sync-api-server/main.go b/cmd/dendrite-sync-api-server/main.go
index a5302f74..41e79680 100644
--- a/cmd/dendrite-sync-api-server/main.go
+++ b/cmd/dendrite-sync-api-server/main.go
@@ -15,13 +15,13 @@
package main
import (
- "github.com/matrix-org/dendrite/internal/basecomponent"
+ "github.com/matrix-org/dendrite/internal/setup"
"github.com/matrix-org/dendrite/syncapi"
)
func main() {
- cfg := basecomponent.ParseFlags(false)
- base := basecomponent.NewBaseDendrite(cfg, "SyncAPI", true)
+ cfg := setup.ParseFlags(false)
+ base := setup.NewBaseDendrite(cfg, "SyncAPI", true)
defer base.Close() // nolint: errcheck
deviceDB := base.CreateDeviceDB()