Skip to content

Commit

Permalink
fix(generate-analyze): replace generate tests with analyze test cover…
Browse files Browse the repository at this point in the history
…age in repository
  • Loading branch information
MahtabBukhari committed Dec 6, 2024
1 parent 819f46d commit 83ddcec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/fetchSourcesData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ type GithubRepositoryResponse = {
export const analyzeGitHubRepository = async (github_repository: string): Promise<GithubRepositoryResponse> => {
const url = `/github/analyze?github_repository=${github_repository}&analysis=["coverage"]`

const response = await api.get<GithubRepositoryResponse>(url)
const res = await api.get<GithubRepositoryResponse>(url)

return response
return res
}

export const getNodes = async (): Promise<FetchDataResponse> => {
Expand Down

0 comments on commit 83ddcec

Please sign in to comment.