diff --git a/changelogs/client_server/newsfragments/3471.clarification b/changelogs/client_server/newsfragments/3471.clarification new file mode 100644 index 00000000..b106e3c5 --- /dev/null +++ b/changelogs/client_server/newsfragments/3471.clarification @@ -0,0 +1 @@ +Fix documentation errors around `threepid_creds`. diff --git a/content/client-server-api/_index.md b/content/client-server-api/_index.md index 43b87250..4ef14de6 100644 --- a/content/client-server-api/_index.md +++ b/content/client-server-api/_index.md @@ -719,14 +719,12 @@ follows: ```json { "type": "m.login.email.identity", - "threepidCreds": [ - { - "sid": "", - "client_secret": "", - "id_server": "", - "id_access_token": "" - } - ], + "threepid_creds": { + "sid": "", + "client_secret": "", + "id_server": "", + "id_access_token": "" + }, "session": "" } ``` @@ -750,14 +748,12 @@ follows: ```json { "type": "m.login.msisdn", - "threepidCreds": [ - { - "sid": "", - "client_secret": "", - "id_server": "", - "id_access_token": "" - } - ], + "threepid_creds": { + "sid": "", + "client_secret": "", + "id_server": "", + "id_access_token": "" + }, "session": "" } ```