Skip to content

Commit

Permalink
Update octokit.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed Dec 10, 2024
1 parent 3a0ae0d commit 7418140
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions website/lib/octokit.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { Octokit } from '@octokit/rest';

const githubToken = process.env.GITHUB_TOKEN;

if (!githubToken) {
throw new Error('GITHUB_TOKEN is not set');
}

const octokit = new Octokit({
auth: githubToken,
});
const octokit = new Octokit();

const owner = 'haydenbleasel';
const repo = 'ultracite';
Expand Down

0 comments on commit 7418140

Please sign in to comment.