bugfix(gitlabUrlReader): Fix issue with repository archive retrieval

Signed-off-by: Stijn Brouwers <stijn@bdcommit.com>
This commit is contained in:
Stijn Brouwers
2026-05-27 14:29:41 +02:00
parent 55009be8a4
commit 70fc9e0370
@@ -211,6 +211,7 @@ export class GitlabUrlReader implements UrlReaderService {
)}/repository/archive?${archiveReqParams.toString()}`;
const archiveGitLabResponse = await this.integration.fetch(reqUrl, {
...getGitLabRequestOptions(this.integration.config, token),
mode: `same-origin`,
// TODO(freben): The signal cast is there because pre-3.x versions of
// node-fetch have a very slightly deviating AbortSignal type signature.
// The difference does not affect us in practice however. The cast can