Skip to content

Commit 0152c04

Browse files
committed
Fixed gitlab _api_request using github token
1 parent a6cc20a commit 0152c04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/gitfetch/fetcher.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,6 @@ def _api_request(self, endpoint: str) -> Any:
646646
capture_output=True,
647647
text=True,
648648
timeout=30,
649-
env={'GH_TOKEN': self.token} if self.token != None else {}
650649
)
651650
if result.returncode != 0:
652651
raise Exception(f"API request failed: {result.stderr}")

0 commit comments

Comments
 (0)