diff --git a/src/api/index.js b/src/api/index.js index 17ca766e..e7d48539 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -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}`),