From 81461c234c9e1c4b2b5470765469d4ebcf4c7b8d Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Wed, 13 Mar 2024 00:33:42 -0400 Subject: [PATCH] DOP-4414 testing lambda --- api/controllers/v2/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {