Skip to content

Commit

Permalink
perf(gitlab: events): update issue/* & note/commit - remove string cr…
Browse files Browse the repository at this point in the history
…eation on embed descriptions
  • Loading branch information
dsevillamartin committed Apr 15, 2017
1 parent 692178b commit 360d7b8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Gitlab/Events/issue-close.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class IssueClose extends EventResponse {
return {
color: 0xE9642D,
title: `Closed issue #${issue.iid}: \`${issue.title}\``,
description: `${issue.description}`,
description: issue.description,
};
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Gitlab/Events/issue-open.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class IssueOpen extends EventResponse {
return {
color: 0xE9642D,
title: `Opened issue #${issue.iid}: \`${issue.title}\``,
description: `${issue.description}`,
description: issue.description,
};
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Gitlab/Events/issue-reopen.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class IssueReopen extends EventResponse {
return {
color: 0xE9642D,
title: `Reopened issue #${issue.iid} \`${issue.title}\``,
description: `${issue.description}`,
description: issue.description,
};
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Gitlab/Events/issue-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class IssueUpdate extends EventResponse {
return {
color: 0xE9642D,
title: `Updated issue #${issue.iid} \`${issue.title}\``,
description: `${issue.description}`,
description: issue.description,
};
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Gitlab/Events/note-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class NoteCommit extends EventResponse {
return {
color: `#996633`,
title: `Commented on commit \`${sha}\``,
description: `${comment.note}`,
description: comment.note,
};
}

Expand Down

0 comments on commit 360d7b8

Please sign in to comment.