Skip to content

Commit b6ce189

Browse files
committed
createHeaders
1 parent 0e09c03 commit b6ce189

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/composables/useProcessing.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,7 @@ export default function useProcessing() {
284284
try {
285285
isProjectLoading.value = true
286286
const response = await fetch(`${apiBaseUrl}projects/${id}`, {
287-
headers: {
288-
'Content-Type': 'application/json',
289-
Authorization: `Bearer ${token}`,
290-
},
287+
headers: createHeaders()
291288
})
292289
const project = await response.json()
293290
const blob = await fetch(project.results.polygons)

0 commit comments

Comments
 (0)