ADD:API RESET -request and password and Refresh access token

This commit is contained in:
supalerk-ar66 2026-01-15 11:06:44 +07:00
parent c557c383e3
commit ae771420be
8 changed files with 55 additions and 29 deletions

View file

@ -183,7 +183,7 @@ export const useAuth = () => {
}
// Confirm Reset Password
const confirmResetPassword = async (payload: { id: number; token: string; password: string }) => {
const confirmResetPassword = async (payload: { token: string; password: string }) => {
try {
const { error } = await useFetch(`${API_BASE_URL}/auth/reset-password`, {
method: 'POST',