Skip to content

Commit

Permalink
chore: remove unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 12, 2024
1 parent c49466d commit cfaff06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/helpers/task-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export async function getTaskMetadata(

// if we don't have a lastCheck yet, use the assignment event
if (!lastCheck) {
console.log("No last check found, using assignment event");
const assignmentEvents = await octokit.paginate(octokit.rest.issues.listEvents, {
owner: repo.owner.login,
repo: repo.name,
Expand Down
3 changes: 1 addition & 2 deletions src/types/github-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ import { RestEndpointMethodTypes } from "@octokit/rest";
export type ListForOrg = RestEndpointMethodTypes["repos"]["listForOrg"]["response"];
export type ListIssueForRepo = RestEndpointMethodTypes["issues"]["listForRepo"]["response"]["data"][0];
export type ListCommentsForIssue = RestEndpointMethodTypes["issues"]["listComments"]["response"]["data"][0];
export type GitHubListEvents = RestEndpointMethodTypes["issues"]["listEvents"]["response"]["data"][0];
export type Label = RestEndpointMethodTypes["issues"]["getLabel"]["response"]["data"];
export type GitHubListEvents = RestEndpointMethodTypes["issues"]["listEvents"]["response"]["data"][0];

0 comments on commit cfaff06

Please sign in to comment.