diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index f5fef4332..0d0320145 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -191,7 +191,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr const jobTitle = 'Smoke Test' + repoName; const repoInfo = await docsetsRepository.getRepo(repoName, path); const projectEntry = await projectsRepository.getProjectEntry(repoName); - return projectEntry; + return projectEntry.github; const repoOwner = projectEntry.github.organization; //add commit hash- how do you get commit hash?? @@ -226,7 +226,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr return { statusCode: 202, headers: { 'Content-Type': 'text/plain' }, - body: 'Jobs Queued 1' + projectEntry, + body: 'Jobs Queued 3' + projectEntry, }; } catch (err) { return {