Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map upwork data #45100

Merged
merged 14 commits into from
Oct 2, 2024
Prev Previous commit
Next Next commit
Remove CONST which isn"t working for some reason
  • Loading branch information
roryabraham committed Oct 1, 2024
commit eff80cb24fca4294dd7f2f7c12e05401cffba791
5 changes: 2 additions & 3 deletions scripts/aggregateGitHubDataFromUpwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {paginateRest} from '@octokit/plugin-paginate-rest';
import {throttling} from '@octokit/plugin-throttling';
import {createObjectCsvWriter} from 'csv-writer';
import fs from 'fs';
import CONST from '../.github/libs/CONST';

type OctokitOptions = {method: string; url: string; request: {retryCount: number}};
type IssueType = 'bug' | 'feature' | 'other';
Expand Down Expand Up @@ -131,8 +130,8 @@ async function getGitHubData() {
console.info(`Fetching ${issueNumber}`);
const result = await octokit.rest.issues
.get({
owner: CONST.GITHUB_OWNER,
repo: CONST.APP_REPO,
owner: 'Expensify',
repo: 'App',
// eslint-disable-next-line @typescript-eslint/naming-convention
issue_number: issueNumber,
})
Expand Down
Loading