Skip to content

Commit

Permalink
feat: port over invitation registration route
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsey committed Feb 3, 2022
1 parent 50c2e6d commit 25e2c1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export const authApi = {
}),
authenticate: () => $http('/api/authenticate'),
confirmRegistration: data => $http('/api/confirm', { method: 'POST', data }, true),
inviteRegistration: data => $http('/api/join', { method: 'POST', data }, true),
emailAvailable: email => $http(`/api/register/email/${email}`),
usernameAvailable: username => $http(`/api/register/username/${username}`),
inviteExists: email => $http(`/api/invites/exists?email=${email}`),
Expand Down

0 comments on commit 25e2c1c

Please sign in to comment.