Skip to content

Commit

Permalink
fix(apis): Read from api schema repo (#652)
Browse files Browse the repository at this point in the history
* fix(apis): Read from api schema repo

* add ;
  • Loading branch information
sentaur-athena authored Oct 10, 2023
1 parent fc135ab commit d3a016d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/brain/apis/getOwnershipData.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { GETSENTRY_ORG, SENTRY_REPO_SLUG } from '@/config';
import { GETSENTRY_ORG } from '@/config';

const OWNERSHIP_FILE_PATH =
'src/sentry/apidocs/api_ownership_stats_dont_modify.json';
const OWNERSHIP_FILE_PATH = 'api_ownership_stats_dont_modify.json';
const SENTRY_API_SCHEMA = 'sentry-api-schema';

export default async function getOwnershipData() {
const resp = await GETSENTRY_ORG.api.rest.repos.getContent({
owner: GETSENTRY_ORG.slug,
repo: SENTRY_REPO_SLUG,
repo: SENTRY_API_SCHEMA,
path: OWNERSHIP_FILE_PATH,
});

Expand Down

0 comments on commit d3a016d

Please sign in to comment.