Skip to content

Commit

Permalink
Remove Hardcoded x-fields
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtan2000 committed Aug 26, 2024
1 parent 55428e2 commit 533f37d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions service/QuizService.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ export const QuizService = {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-user-id': '12asd',
'x-user-email': 'andrewjtgh@gmail.com',
'x-user-roles': 'student',
},
credentials: 'include',
body: JSON.stringify({
Expand Down Expand Up @@ -43,9 +40,6 @@ export const QuizService = {
{
headers: {
'Content-Type': 'application/json',
'x-user-email': 'andrewjtgh@gmail.com',
'x-user-roles': 'student',
'x-user-id': '12asd',
},
credentials: "include"
}
Expand All @@ -67,9 +61,6 @@ export const QuizService = {
{
headers: {
'Content-Type': 'application/json',
'x-user-email': 'andrewjtgh@gmail.com',
'x-user-roles': 'student',
'x-user-id': '12asd',
},
credentials: "include"
}
Expand All @@ -91,9 +82,6 @@ export const QuizService = {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'x-user-email': 'andrewjtgh@gmail.com',
'x-user-roles': 'student',
'x-user-id': '12asd',
},
credentials: "include",
body: JSON.stringify({
Expand All @@ -116,9 +104,6 @@ export const QuizService = {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
'x-user-email': 'andrewjtgh@gmail.com',
'x-user-roles': 'student',
'x-user-id': '12asd',
},
credentials: "include",
}
Expand Down

0 comments on commit 533f37d

Please sign in to comment.