refac: cookie
This commit is contained in:
1 parent
f342f8adc7
commit
f1de635988
2 files changed
+18
-4
No files matched your search
@@ -118,6 +118,7 @@ export const userSignIn = async (email: string, password: string) => {
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({
|
||||
email: email,
|
||||
password: password
|
||||
@@ -154,6 +155,7 @@ export const userSignUp = async (
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({
|
||||
name: name,
|
||||
email: email,
|
||||
|
||||
Reference in new issue
Block a user