- Implemented store for register methods

This commit is contained in:
Alexis
2020-12-23 20:25:43 +01:00
parent fdad47e84e
commit 65abb41a9f
6 changed files with 264 additions and 192 deletions

View File

@@ -6,6 +6,9 @@ export default {
getOneFromUUID(uuid) {
return api.get(`${resource}/${uuid}`,)
},
checkEmailAvailable(mail) {
return api.get(`${resource}/available/${mail}`)
},
login(data) {
return api.post(`${resource}/login`, data)
},