Skip to content

Commit

Permalink
Fixed bug in handlePullRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
dalezak committed Apr 23, 2021
1 parent 6d2f3ae commit 77b2e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8856,7 +8856,7 @@ async function handlePullRequest(data) {
let url = data.url;
let message = data.title;
let user = data.user.name;
let card = await getCardOnBoard(trelloBoardId, title);
let card = await getCardOnBoard(trelloBoardId, message);
if (card && card.length > 0) {
if (trelloCardAction && trelloCardAction.toLowerCase() == 'attachment') {
await addAttachmentToCard(card, url);
Expand Down

0 comments on commit 77b2e8a

Please sign in to comment.