aboutsummaryrefslogtreecommitdiff
path: root/userapi
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-11-18 13:24:02 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-11-18 13:24:02 +0000
commit8299da590542a982437ad9dd30115d23c3d9d075 (patch)
treee24ba6d33e4f551252150d42bcb43e1587e0aaec /userapi
parenta8e7ffc7ab147ebced766da8e0e1ebb1d75f846a (diff)
Fix registration for virtual hosting
Diffstat (limited to 'userapi')
-rw-r--r--userapi/userapi_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/userapi/userapi_test.go b/userapi/userapi_test.go
index 23acfa6f..25fa75ee 100644
--- a/userapi/userapi_test.go
+++ b/userapi/userapi_test.go
@@ -61,7 +61,9 @@ func MustMakeInternalAPI(t *testing.T, opts apiTestOpts, dbType test.DBType) (ap
cfg := &config.UserAPI{
Matrix: &config.Global{
- ServerName: serverName,
+ SigningIdentity: gomatrixserverlib.SigningIdentity{
+ ServerName: serverName,
+ },
},
}