Skip to content

Commit

Permalink
github-env: fix bug with type
Browse files Browse the repository at this point in the history
  • Loading branch information
Shraeyas committed Nov 26, 2023
1 parent ec109b4 commit 2a5c157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/api/integrationAuth/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ const fetchIntegrationAuthBitBucketWorkspaces = async (integrationAuthId: string
};

const fetchIntegrationAuthGitHubRepositories = async (integrationAuthId: string) => {
const { data: { repos } } = await apiRequest.get<{ workspaces: GithubRepository[] }>(
const { data: { repos } } = await apiRequest.get<{ repos: GithubRepository[] }>(
`/api/v1/integration-auth/${integrationAuthId}/github-environment/repositories`
);
return repos;
Expand Down

0 comments on commit 2a5c157

Please sign in to comment.