don't unpack the gitlab options

Signed-off-by: Max Morton <mamorton@paloaltonetworks.com>
This commit is contained in:
Max Morton
2022-12-05 15:07:34 -08:00
parent 98776e638a
commit f6e5fa3242
@@ -311,11 +311,7 @@ export class GitlabUrlReader implements UrlReader {
`${
pathToProject.origin
}${relativePath}/api/v4/projects/${encodeURIComponent(project)}`,
{
headers: {
...getGitLabRequestOptions(this.integration.config).headers,
},
},
getGitLabRequestOptions(this.integration.config),
);
const data = await result.json();
if (!result.ok) {