api refactoring

This commit is contained in:
Čarodej
2022-05-11 09:19:55 +02:00
parent d2371e667f
commit c0e431b384
76 changed files with 1142 additions and 690 deletions

View File

@@ -119,7 +119,7 @@ export default {
// Send request to get user reset link
axios
.post('/api/password/email', {
.post('/api/password/recover', {
email: this.recoverEmail,
})
.then(() => {

View File

@@ -275,7 +275,7 @@ export default {
},
resendEmail() {
axios
.post('/api/user/email/verify/resend', {
.post('/api/user/verify', {
email: this.loginEmail,
})
.then(() => {