Fix error description on /account/3pid/email/requestToken

This commit is contained in:
Travis Ralston 2018-08-31 11:24:35 -06:00
parent a4c2b2b905
commit 63fdd72f73

View file

@ -229,14 +229,14 @@ paths:
} }
400: 400:
description: |- description: |-
The homeserver was unable to locate a user with the third party identifier The third party identifier is already in use on the homeserver, or
already bound, or the request was invalid. the request was invalid.
schema: schema:
$ref: "definitions/errors/error.yaml" $ref: "definitions/errors/error.yaml"
examples: examples:
application/json: { application/json: {
"errcode": "M_THREEPID_NOT_FOUND", "errcode": "M_THREEPID_IN_USE",
"error": "Third party identifier not found" "error": "Third party identifier already in use"
} }
"/account/3pid/msisdn/requestToken": "/account/3pid/msisdn/requestToken":
post: post: