Skip to content

Commit

Permalink
Merge pull request #41 from farmersdog/zdixon/fixing-shortcut-client
Browse files Browse the repository at this point in the history
Zdixon/fixing shortcut client
  • Loading branch information
zdxn authored Mar 28, 2022
2 parents ee21d72 + 7047068 commit 5ed2f25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15690,7 +15690,7 @@ __nccwpck_require__.r(__webpack_exports__);
/* harmony export */ });
const core = __nccwpck_require__(2186);
const github = __nccwpck_require__(5438);
const Shortcut = __nccwpck_require__(5914);
const { ShortcutClient } = __nccwpck_require__(5914);

function formatMatches(matches) {
const values = [];
Expand Down Expand Up @@ -15801,7 +15801,7 @@ async function fetchStoryAndUpdatePr(params) {
repository,
dryRun,
} = params;
const client = new Shortcut(chToken);
const client = new ShortcutClient(chToken);
const storyIds = getStoryIds(pullRequest);
const story = await getShortcutStory(client, storyIds);
const newTitle = getTitle(
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const core = require('@actions/core');
const github = require('@actions/github');
const Shortcut = require('@useshortcut/client');
const { ShortcutClient } = require('@useshortcut/client');

function formatMatches(matches) {
const values = [];
Expand Down Expand Up @@ -111,7 +111,7 @@ async function fetchStoryAndUpdatePr(params) {
repository,
dryRun,
} = params;
const client = new Shortcut(chToken);
const client = new ShortcutClient(chToken);
const storyIds = getStoryIds(pullRequest);
const story = await getShortcutStory(client, storyIds);
const newTitle = getTitle(
Expand Down

0 comments on commit 5ed2f25

Please sign in to comment.