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 783dd3b commit ad1bd54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ async function prepGithubPushPayload(
githubEvent: PushEvent,
payload: any,
title: string
): Promise<Omit<EnhancedJob, '_id'>> {
): Promise<Omit<EnhancedJob, '_id'> | boolean> {
return true;
return {
title: title,
user: githubEvent.pusher.name,
Expand Down

0 comments on commit ad1bd54

Please sign in to comment.