Skip to content

Commit

Permalink
paginateGraphql -> paginateGraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed May 5, 2024
1 parent 08b24cd commit 1db37e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/octokit.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { STATUS_CODES } from 'http';
import { fetch as undiciFetch, ProxyAgent, RequestInfo, RequestInit } from 'undici';
import { Octokit, RequestError } from 'octokit';
import { paginateGraphql } from '@octokit/plugin-paginate-graphql';
import { paginateGraphQL } from '@octokit/plugin-paginate-graphql';

import { Logger } from './logger';

const OctokitWithPaginateGraphql = Octokit.plugin(paginateGraphql);
const OctokitWithPaginateGraphQL = Octokit.plugin(paginateGraphQL);

export const createOctokit = (
token: string | undefined,
Expand All @@ -20,7 +20,7 @@ export const createOctokit = (
});
};

const octokit = new OctokitWithPaginateGraphql({
const octokit = new OctokitWithPaginateGraphQL({
auth: token,
baseUrl,
request: {
Expand Down

0 comments on commit 1db37e1

Please sign in to comment.