diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-06-19 09:18:09 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-06-19 09:18:09 +0100 |
commit | 9e3d771a32059b96c5595b08bc1f13a481ca800b (patch) | |
tree | 9f3421c3c4f0f0c4c7d7273e73c9d8a7204805f4 /userapi | |
parent | dc0bac85d5bad933d32ee63f8bc1aef6348ca6e9 (diff) |
Fix comment in InputAccountDataRequest
Diffstat (limited to 'userapi')
-rw-r--r-- | userapi/api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/api/api.go b/userapi/api/api.go index a80adf2d..cf0f0563 100644 --- a/userapi/api/api.go +++ b/userapi/api/api.go @@ -36,7 +36,7 @@ type UserInternalAPI interface { type InputAccountDataRequest struct { UserID string // required: the user to set account data for RoomID string // optional: the room to associate the account data with - DataType string // optional: the data type of the data + DataType string // required: the data type of the data AccountData json.RawMessage // required: the message content } |