fixes api auth bug in techdocs backend

Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
This commit is contained in:
Erik Larsson
2021-12-22 22:16:49 +01:00
parent f30f67f59b
commit da676a49ab
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-backend': minor
---
fixes api auth bug in techdocs backend
@@ -123,6 +123,11 @@ export class DefaultTechDocsCollator implements DocumentCollator {
techDocsBaseUrl,
entityInfo,
),
{
headers: {
Authorization: `Bearer ${token}`,
},
},
);
const searchIndex = await searchIndexResponse.json();