Fix error code typo (#1059)

* Fix error code typo

See https://spec.matrix.org/v1.2/client-server-api/#other-error-codes

* Create 1059.clarification
This commit is contained in:
Michael Telatynski 2022-05-11 18:14:24 +01:00 committed by GitHub
parent 9ede29a01d
commit 573dbb3b74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Fix room state 400 code error examples to match known error codes.

View file

@ -114,7 +114,7 @@ paths:
Some example error codes include:
* `M_INVALID_PARAMETER`: One or more aliases within the `m.room.canonical_alias`
* `M_INVALID_PARAM`: One or more aliases within the `m.room.canonical_alias`
event have invalid syntax.
* `M_BAD_ALIAS`: One or more aliases within the `m.room.canonical_alias` event