Commit ef936644 authored by seoyeon's avatar seoyeon
Browse files

머지

parent 6e0a46de
...@@ -5,12 +5,11 @@ const login = async (payload) => { ...@@ -5,12 +5,11 @@ const login = async (payload) => {
return data; return data;
}; };
// const signup = async (email, password) => { const signup = async (payload) => {
// const payload = { email, password, phone, gender } = req.body; const { data } = await axios.post("/api/signup", payload);
// const { data } = await axios.post(`${endpoints.API_BASE_URL}/`, payload); return data;
// return data;
// }
export default {
login,
// signup
}; };
const userApi = { login, signup };
export default userApi;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment