Skip to content

Commit

Permalink
Add Content-Type header to fetch service call
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryashutov committed Jan 10, 2024
1 parent 0645f45 commit a440f58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/containers/PatientDetails/PatientWearables/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ async function fetchPatientRecords(patient: WithId<Patient>) {
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${getToken()}`,
},
},
Expand All @@ -116,6 +117,7 @@ async function fetchPatientMetriportRecords(patient: WithId<Patient>) {
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${getToken()}`,
},
},
Expand Down

0 comments on commit a440f58

Please sign in to comment.