♻️ signup

This commit is contained in:
Timur Ercan
2023-03-01 15:18:45 +01:00
parent 5e70b4620c
commit 74f5f830fe
3 changed files with 16 additions and 12 deletions

View File

@ -0,0 +1,12 @@
export const signup = (source: any, data: any) => {
return fetch("/api/auth/signup", {
body: JSON.stringify({
source: source,
...data,
}),
headers: {
"Content-Type": "application/json",
},
method: "POST",
});
};