Skip to content

Commit

Permalink
Update to reflect matrix-org/synapse#2213
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Barnard committed May 10, 2017
1 parent 5eafdf5 commit d920e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base-apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ MatrixBaseApis.prototype.makeTxnId = function() {
*/
MatrixBaseApis.prototype.isUsernameAvailable = function(username) {
return this._http.authedRequest(
undefined, "POST", '/register/available', null, { username: username },
undefined, "GET", '/register/available', { username: username },
).then((response) => {
return response.available;
});
Expand Down

0 comments on commit d920e0f

Please sign in to comment.