Rename routes to follow the same pattern

This commit is contained in:
kolaente 2020-06-17 22:24:37 +02:00
parent fc4b9d439b
commit 82ac226fc1
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
15 changed files with 89 additions and 89 deletions

View file

@ -73,7 +73,7 @@ export default {
// Registers a new user and logs them in.
// Not sure if this is the right place to put the logic in, maybe a seperate js component would be better suited.
register(ctx, credentials) {
return HTTP.post('register', {
return HTTP.post('user.register', {
username: credentials.username,
email: credentials.email,
password: credentials.password