Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
FLYBYME committed Oct 2, 2023
1 parent 27b9e11 commit 0d65dec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion services/github.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,12 @@ module.exports = {
commits: payload.commits,
head: payload.head_commit
};
} else if (payload.repository) {
strippedPayload = {
name: payload.repository.name.toLowerCase(),
namespace: payload.repository.owner.name.toLowerCase(),
};
}

return {
action: action,
key: key,
Expand Down

0 comments on commit 0d65dec

Please sign in to comment.