Sfoglia il codice sorgente

Fixed some bugs

pull/31/head
Safet Purkovic 3 anni fa
parent
commit
d26981b3fc

+ 7
- 7
src/request/apiEndpoints.js Vedi File

@@ -2,15 +2,15 @@ const base = "http://localhost:26081/v1";

export default {
authentications: {
login: base + "/users/authenticate",
googleLogin: base + "/users/authenticateGoogle",
refreshToken: base + "/users/refresh",
logout: base + "/users/logout?userId={userId}",
forgetPassword: base + "/users/ForgotPassword",
resetPassword: base + "/users/RessetPassword",
login: base + "/authentications/authenticate",
googleLogin: base + "/authentications/authenticateGoogle",
refreshToken: base + "/authentications/refresh",
logout: base + "/authentications/logout?userId={userId}",
forgetPassword: base + "/authentications/ForgotPassword",
resetPassword: base + "/authentications/RessetPassword",
},
users:{
allUsers:'http://localhost:26081/v1/users',
allUsers: base + '/users',
},
candidates:{
allCandidates:base + "/applicants"

+ 1
- 1
src/store/actions/login/loginActionConstants.js Vedi File

@@ -24,7 +24,7 @@ export const LOGIN_GOOGLE_USER_ERROR = createErrorType(LOGIN_GOOGLE_USER_SCOPE);
export const CLEAR_LOGIN_GOOGLE_USER_ERROR = createClearType(
`${LOGIN_GOOGLE_USER_SCOPE}_ERROR`,
);
export const LOGIN_GOOGLE_USER_LOADING = createLoadingType(LOGIN_USER_SCOPE);
export const LOGIN_GOOGLE_USER_LOADING = createLoadingType(LOGIN_GOOGLE_USER_SCOPE);


export const UPDATE_USER_JWT_TOKEN = 'UPDATE_USER_JWT_TOKEN';

Loading…
Annulla
Salva