Commit 73988dd9 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Update endpoint to username validator

parent c49e1526
......@@ -76,7 +76,7 @@
this.renderState();
return $.ajax({
type: 'GET',
url: `/u/${username}/exists`,
url: `/users/${username}/exists`,
dataType: 'json',
success: (res) => this.setAvailabilityState(res.exists)
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment