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 ba4dbae commit 666debf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ async function createPayload(
}
}

return repoName + branch_name + repoInfo.project;
const branch_info = await repoBranchesRepository.getRepoBranchAliases(repoName, branch_name, repoInfo.project);
return branch_info;
const urlSlug = branch_info.aliasObject?.urlSlug ?? branch_name;

return {
Expand Down

0 comments on commit 666debf

Please sign in to comment.