Skip to content

Commit 4fb401e

Browse files
Anthony KinseyAnthony Kinsey
Anthony Kinsey
authored and
Anthony Kinsey
committed
feat: port route for confirming user registration
1 parent 5a4da43 commit 4fb401e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ export const authApi = {
132132
return user
133133
}),
134134
authenticate: () => $http('/api/authenticate'),
135+
confirmRegistration: data => $http('/api/confirm', { method: 'POST', data }, true),
135136
emailAvailable: email => $http(`/api/register/email/${email}`),
136137
usernameAvailable: username => $http(`/api/register/username/${username}`),
137138
inviteExists: email => $http(`/api/invites/exists?email=${email}`),

0 commit comments

Comments
 (0)