Browse Source

fix ci.

main
Gisle Aune 4 years ago
parent
commit
00a9ffc962
  1. 2
      svelte-ui/src/clients/stufflog.ts

2
svelte-ui/src/clients/stufflog.ts

@ -225,7 +225,7 @@ export class StufflogClient {
} }
console.warn("AUTH SKIPPED, remember to change back in prod!") console.warn("AUTH SKIPPED, remember to change back in prod!")
req.headers["Authorization"] = `Bearer ${await getJwt()}`;
req.headers["Authorization"] = await getJwt();
const res = await fetch(fullPath, req); const res = await fetch(fullPath, req);
if (!res.ok) { if (!res.ok) {

Loading…
Cancel
Save