Skip to content

Commit

Permalink
fixes api auth bug in techdocs backend
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
  • Loading branch information
erikxiv committed Dec 22, 2021
1 parent f30f67f commit da676a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-tomatoes-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-backend': minor
---

fixes api auth bug in techdocs backend
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ export class DefaultTechDocsCollator implements DocumentCollator {
techDocsBaseUrl,
entityInfo,
),
{
headers: {
Authorization: `Bearer ${token}`,
},
},
);
const searchIndex = await searchIndexResponse.json();

Expand Down

0 comments on commit da676a4

Please sign in to comment.