mas: fix displayname handling

This commit is contained in:
Roman Isaev 2025-01-06 03:18:31 +00:00
parent cc7deb22ad
commit 5cffc2c257
No known key found for this signature in database
GPG key ID: 7BE2B6A6C89AEC7F

View file

@ -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.