Feature/Auth: implement user authentication #3
@@ -10,6 +10,7 @@ const API_URL: string = "/auth";
|
||||
export const register = async (user: RegisterDto) => {
|
||||
|
||||
try {
|
||||
console.log(user);
|
||||
const response = await api.post(`${API_URL}/register`, user);
|
||||
|
||||
// TODO: if valid
|
||||
|
||||
Reference in New Issue
Block a user