From f6a38b7baed0328a90cfa8c7a803a43e210cf5d3 Mon Sep 17 00:00:00 2001 From: Tony Li Date: Wed, 14 May 2025 14:29:30 -0400 Subject: [PATCH 1/3] throw an error if a token does not exist when building Authorization header --- server/modules/authentication.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/server/modules/authentication.ts b/server/modules/authentication.ts index b1e2ef20..5f0e77ad 100644 --- a/server/modules/authentication.ts +++ b/server/modules/authentication.ts @@ -29,17 +29,14 @@ export async function authenticateAndGetGitHubHeaders(event: H3Event Date: Thu, 5 Jun 2025 17:30:02 -0400 Subject: [PATCH 2/3] Update server/modules/authentication.ts --- server/modules/authentication.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/modules/authentication.ts b/server/modules/authentication.ts index 5f0e77ad..9333929c 100644 --- a/server/modules/authentication.ts +++ b/server/modules/authentication.ts @@ -29,6 +29,13 @@ export async function authenticateAndGetGitHubHeaders(event: H3Event Date: Thu, 5 Jun 2025 17:35:35 -0400 Subject: [PATCH 3/3] bump to 2.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d5c1ab65..e3240838 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "copilot-metrics-viewer", - "version": "2.0.3", + "version": "2.0.4", "private": true, "type": "module", "scripts": {