diff --git a/api/signup.ts b/api/signup.ts index 6e63856..224e819 100644 --- a/api/signup.ts +++ b/api/signup.ts @@ -27,7 +27,7 @@ export const postPassword = async (payload: ProfilePayload) => { export const postProfile = async (payload: ProfilePayload) => { const { firstName, lastName, genderCode, birthDate, description, email } = payload; - return fetchData(`/api/v1/auth/reset-password=${email ? encodeURIComponent(email) : ''}`, { + return fetchData(`/api/v1/auth/profile?email=${email ? encodeURIComponent(email) : ''}`, { method: 'POST', body: JSON.stringify({ firstName,