From 9e3d771a32059b96c5595b08bc1f13a481ca800b Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 19 Jun 2020 09:18:09 +0100 Subject: [PATCH] Fix comment in InputAccountDataRequest --- userapi/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userapi/api/api.go b/userapi/api/api.go index a80adf2d8..cf0f05633 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 }