Skip to content

Commit

Permalink
DOP-4414 testing lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 13, 2024
1 parent dfa6854 commit 81461c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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??
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 81461c2

Please sign in to comment.