Skip to content

Commit 0ed004b

Browse files
committed
fix: remove leading slash
Fixes 404 (the URL is https://api.github.com//teams/..., which is incorrect due to the double slash).
1 parent f7769d7 commit 0ed004b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async function main(): Promise<void> {
135135
console.log('🔑 Giving admin access to all team members')
136136
// This is the GitHub team in the "sourcegraph" org named "Team"; see
137137
// https://api.github.com/orgs/sourcegraph/teams.
138-
await githubClient.put(`/teams/626894/repos/sourcegraph/${repoName}`, {
138+
await githubClient.put(`teams/626894/repos/sourcegraph/${repoName}`, {
139139
json: {
140140
permission: 'admin',
141141
},

0 commit comments

Comments
 (0)