aboutsummaryrefslogtreecommitdiff
path: root/clientapi/clientapi.go
diff options
context:
space:
mode:
authorBehouba Manassé <behouba@gmail.com>2020-02-11 14:18:12 +0300
committerGitHub <noreply@github.com>2020-02-11 11:18:12 +0000
commit9937c05beae7d76e351eae35ad6f441b1c177303 (patch)
treec8558c2cc386352bcd6bacd810465a18f0e42599 /clientapi/clientapi.go
parentb72d7eb0cfdb6cead864c6e7cc0ccec77efa5805 (diff)
Pass cfg by reference around the codebase (#819)
* Pass cfg by reference around the codebase * Merge branch 'master' into pass-cfg-by-ref Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'clientapi/clientapi.go')
-rw-r--r--clientapi/clientapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index f3f3e08c..c911fecc 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -67,7 +67,7 @@ func SetupClientAPIComponent(
}
routing.Setup(
- base.APIMux, *base.Cfg, roomserverProducer, queryAPI, aliasAPI, asAPI,
+ base.APIMux, base.Cfg, roomserverProducer, queryAPI, aliasAPI, asAPI,
accountsDB, deviceDB, federation, *keyRing, userUpdateProducer,
syncProducer, typingProducer, transactionsCache, fedSenderAPI,
)