We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 095b0cc + 0d52f48 commit 7c6e02fCopy full SHA for 7c6e02f
socketsecurity/core/scm/gitlab.py
@@ -58,7 +58,7 @@ def from_env(cls) -> 'GitlabConfig':
58
repository=project_name,
59
is_default_branch=(mr_source_branch == default_branch if mr_source_branch else False),
60
headers={
61
- 'Authorization': f"Bearer {token}",
+ 'PRIVATE-TOKEN': f"{token}",
62
'User-Agent': 'SocketPythonScript/0.0.1',
63
"accept": "application/json"
64
}
0 commit comments