INNER CODE UNIT · TypeScript

getUser

flaviuse/mern-authentication · client/src/api/index.ts:22

const getUser = () => http.get<{ user: User }>("/user");

export {
  postLogin,
  sendResetPasswordLink,
  resetPassword,
  postLogout,
  postUser,
  getConfirmation,
  resendConfirmation,
  getUser,
  resetRegister,
};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…