From 5cffc2c25732f913d4e9d962548d1ac9a083235a Mon Sep 17 00:00:00 2001 From: Roman Isaev Date: Mon, 6 Jan 2025 03:18:31 +0000 Subject: [PATCH] mas: fix displayname handling --- clientapi/routing/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/admin.go b/clientapi/routing/admin.go index fcb167e2..b213d5aa 100644 --- a/clientapi/routing/admin.go +++ b/clientapi/routing/admin.go @@ -840,7 +840,7 @@ type adminExternalID struct { } type adminCreateOrModifyAccountRequest struct { - DisplayName string `json:"display_name"` + DisplayName string `json:"displayname"` AvatarURL string `json:"avatar_url"` // TODO: the following fields are not used here, but they are used in Synapse. Probably we should reproduce the logic of the // endpoint fully compatible.