diff options
author | kegsay <kegan@matrix.org> | 2022-05-05 19:30:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 19:30:38 +0100 |
commit | 9957752a9d60d4519cc0b7e8b9b40a781240c27d (patch) | |
tree | 80de96398e63ea04a334802212f828d983a98b6e /userapi/userapi.go | |
parent | e4da04e75b4cba1c9afb63b9973444e1da12021b (diff) |
Define component interfaces based on consumers (2/2) (#2425)
* convert remaining interfaces
* Tidy up the userapi interfaces
Diffstat (limited to 'userapi/userapi.go')
-rw-r--r-- | userapi/userapi.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/userapi/userapi.go b/userapi/userapi.go index 5b11665d..03a46807 100644 --- a/userapi/userapi.go +++ b/userapi/userapi.go @@ -44,8 +44,8 @@ func AddInternalRoutes(router *mux.Router, intAPI api.UserInternalAPI) { // can call functions directly on the returned API or via an HTTP interface using AddInternalRoutes. func NewInternalAPI( base *base.BaseDendrite, cfg *config.UserAPI, - appServices []config.ApplicationService, keyAPI keyapi.KeyInternalAPI, - rsAPI rsapi.RoomserverInternalAPI, pgClient pushgateway.Client, + appServices []config.ApplicationService, keyAPI keyapi.UserKeyAPI, + rsAPI rsapi.UserRoomserverAPI, pgClient pushgateway.Client, ) api.UserInternalAPI { js, _ := jetstream.Prepare(base.ProcessContext, &cfg.Matrix.JetStream) |