We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e09c03 commit b78013aCopy full SHA for b78013a
1 file changed
src/composables/useProcessing.ts
@@ -279,15 +279,10 @@ export default function useProcessing() {
279
}
280
281
const loadProject = async (id: string) => {
282
- const token = generateJWT()
283
-
284
try {
285
isProjectLoading.value = true
286
const response = await fetch(`${apiBaseUrl}projects/${id}`, {
287
- headers: {
288
- 'Content-Type': 'application/json',
289
- Authorization: `Bearer ${token}`,
290
- },
+ headers: createHeaders()
291
})
292
const project = await response.json()
293
const blob = await fetch(project.results.polygons)
0 commit comments