瀏覽代碼

Fixed some bugs

pull/31/head
Safet Purkovic 3 年之前
父節點
當前提交
d26981b3fc
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 7
    7
      src/request/apiEndpoints.js
  2. 1
    1
      src/store/actions/login/loginActionConstants.js

+ 7
- 7
src/request/apiEndpoints.js 查看文件



export default { export default {
authentications: { 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:{ users:{
allUsers:'http://localhost:26081/v1/users',
allUsers: base + '/users',
}, },
candidates:{ candidates:{
allCandidates:base + "/applicants" allCandidates:base + "/applicants"

+ 1
- 1
src/store/actions/login/loginActionConstants.js 查看文件

export const CLEAR_LOGIN_GOOGLE_USER_ERROR = createClearType( export const CLEAR_LOGIN_GOOGLE_USER_ERROR = createClearType(
`${LOGIN_GOOGLE_USER_SCOPE}_ERROR`, `${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'; export const UPDATE_USER_JWT_TOKEN = 'UPDATE_USER_JWT_TOKEN';

Loading…
取消
儲存