- Added error handler to register form

This commit is contained in:
Alexis
2020-07-07 23:24:10 +02:00
parent 9b10cd473e
commit 080c46593c
8 changed files with 191 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ export default {
login(data) {
return api.post(`${resource}/login`, data)
},
addOne(data) {
register(data) {
return api.post(`${resource}`, data)
},
}