Skip to content

Commit

Permalink
Let's see what happens if we do this...
Browse files Browse the repository at this point in the history
  • Loading branch information
etipton committed May 15, 2021
1 parent 2dbfd05 commit f7ed033
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 0 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,12 +585,6 @@ function createClubhouseStory(payload, http) {
name: title,
description,
project_id: clubhouseProject.id,
external_tickets: [
{
external_id: payload.pull_request.id.toString(),
external_url: payload.pull_request.html_url,
},
],
};
if (clubhouseUserId) {
body.owner_ids = [clubhouseUserId];
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export interface ClubhouseCommit {
url: string;
}

/** A External Ticket allows you to create a link between an external system, like Zendesk, and a Clubhouse story. */
/** An External Ticket allows you to create a link between an external system, like Zendesk, and a Clubhouse story. */
export interface ClubhouseExternalTicket {
epic_ids: number[];
external_id: string;
Expand Down
12 changes: 6 additions & 6 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,12 @@ export async function createClubhouseStory(
name: title,
description,
project_id: clubhouseProject.id,
external_tickets: [
{
external_id: payload.pull_request.id.toString(),
external_url: payload.pull_request.html_url,
},
],
// external_tickets: [
// {
// external_id: payload.pull_request.id.toString(),
// external_url: payload.pull_request.html_url,
// },
// ],
};
if (clubhouseUserId) {
body.owner_ids = [clubhouseUserId];
Expand Down

0 comments on commit f7ed033

Please sign in to comment.