refac: cookie

This commit is contained in:
Timothy J. Baek
2024-06-20 13:14:58 -07:00
parent f342f8adc7
commit f1de635988
2 changed files with 18 additions and 4 deletions

View File

@@ -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,