diff options
Diffstat (limited to 'editors/code/src/net.ts')
-rw-r--r-- | editors/code/src/net.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/net.ts b/editors/code/src/net.ts index d6194b63e..cfbe1fd48 100644 --- a/editors/code/src/net.ts +++ b/editors/code/src/net.ts | |||
@@ -28,7 +28,7 @@ export async function fetchRelease( | |||
28 | 28 | ||
29 | log.debug("Issuing request for released artifacts metadata to", requestUrl); | 29 | log.debug("Issuing request for released artifacts metadata to", requestUrl); |
30 | 30 | ||
31 | var headers: any = { Accept: "application/vnd.github.v3+json" }; | 31 | const headers: Record<string, string> = { Accept: "application/vnd.github.v3+json" }; |
32 | if (githubToken != null) { | 32 | if (githubToken != null) { |
33 | headers.Authorization = "token " + githubToken; | 33 | headers.Authorization = "token " + githubToken; |
34 | } | 34 | } |