UI: Change /api/registration -> /api/register

This commit is contained in:
Shreya Malviya 2022-08-01 18:48:44 +05:30
parent 187dc64045
commit 236b2cb3e2
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import decode from 'jwt-decode';
export default class AuthService {
SECONDS_BEFORE_JWT_EXPIRES = 20;
AUTHENTICATION_API_ENDPOINT = '/api/authenticate';
REGISTRATION_API_ENDPOINT = '/api/registration';
REGISTRATION_API_ENDPOINT = '/api/register';
login = (username, password) => {
return this._login(username, password);