UI: Change /api/auth -> /api/authenticate

This commit is contained in:
Shreya Malviya 2022-08-01 18:45:19 +05:30
parent 3c1e69eabb
commit 8342ec8b5c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import decode from 'jwt-decode';
export default class AuthService {
SECONDS_BEFORE_JWT_EXPIRES = 20;
AUTHENTICATION_API_ENDPOINT = '/api/auth';
AUTHENTICATION_API_ENDPOINT = '/api/authenticate';
REGISTRATION_API_ENDPOINT = '/api/registration';
login = (username, password) => {