Skip to content

Commit cf56998

Browse files
Update 16/umbraco-cms/customizing/foundation/fetching-data/fetch-api.md
Co-authored-by: Lee Kelleher <[email protected]>
1 parent fa5af18 commit cf56998

File tree

1 file changed

+1
-1
lines changed
  • 16/umbraco-cms/customizing/foundation/fetching-data

1 file changed

+1
-1
lines changed

16/umbraco-cms/customizing/foundation/fetching-data/fetch-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ async function makeRequest(host: UmbClassInterface, url: string, method = 'GET',
137137
method,
138138
body: body ? JSON.stringify(body) : undefined,
139139
headers: {
140-
'Content-Type': 'application/json',
141140
'Authorization': `Bearer ${token}`,
141+
'Content-Type': 'application/json',
142142
},
143143
});
144144
return response.json();

0 commit comments

Comments
 (0)