From 0fb91a196397b895ec6b765e86d4636099f27ee7 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Wed, 13 Mar 2024 01:05:38 -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 52f159aaf..dafa598cf 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -69,7 +69,7 @@ async function createPayload( if (isSmokeTestDeploy) { try { - if (!repoOwner) { + if (repoOwner == null) { return 'no repo owner'; } url = 'https://github.com/' + repoOwner + '/' + repoName; @@ -226,7 +226,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr return { statusCode: 202, headers: { 'Content-Type': 'text/plain' }, - body: 'Jobs Queued 2' + projectEntry, + body: 'Jobs Queued 3' + projectEntry, }; } catch (err) { return {