From 83ddcec55bd483e8cca79ff2c3589ffa083b359c Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Fri, 6 Dec 2024 23:43:48 +0500 Subject: [PATCH] fix(generate-analyze): replace generate tests with analyze test coverage in repository --- src/network/fetchSourcesData/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/fetchSourcesData/index.ts b/src/network/fetchSourcesData/index.ts index c0d8f6a7b..b61746ccb 100644 --- a/src/network/fetchSourcesData/index.ts +++ b/src/network/fetchSourcesData/index.ts @@ -187,9 +187,9 @@ type GithubRepositoryResponse = { export const analyzeGitHubRepository = async (github_repository: string): Promise => { const url = `/github/analyze?github_repository=${github_repository}&analysis=["coverage"]` - const response = await api.get(url) + const res = await api.get(url) - return response + return res } export const getNodes = async (): Promise => {