aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-polylith-multi/personalities/userapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendrite-polylith-multi/personalities/userapi.go')
-rw-r--r--cmd/dendrite-polylith-multi/personalities/userapi.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/dendrite-polylith-multi/personalities/userapi.go b/cmd/dendrite-polylith-multi/personalities/userapi.go
index f1fa379c..3fe5a43d 100644
--- a/cmd/dendrite-polylith-multi/personalities/userapi.go
+++ b/cmd/dendrite-polylith-multi/personalities/userapi.go
@@ -21,10 +21,8 @@ import (
)
func UserAPI(base *basepkg.BaseDendrite, cfg *config.Dendrite) {
- accountDB := base.CreateAccountsDB()
-
userAPI := userapi.NewInternalAPI(
- base, accountDB, &cfg.UserAPI, cfg.Derived.ApplicationServices,
+ base, &cfg.UserAPI, cfg.Derived.ApplicationServices,
base.KeyServerHTTPClient(), base.RoomserverHTTPClient(),
base.PushGatewayHTTPClient(),
)