Skip to content

Commit

Permalink
Fix incorrect api call
Browse files Browse the repository at this point in the history
  • Loading branch information
ukupat committed Jul 10, 2021
1 parent b409280 commit bff920e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9045,8 +9045,10 @@ async function getCardAttachments(cardId) {
const url = `https://api.trello.com/1/cards/${cardId}/attachments`

return await axios__WEBPACK_IMPORTED_MODULE_0__.get(url, {
key: trelloApiKey,
token: trelloAuthToken,
params: {
key: trelloApiKey,
token: trelloAuthToken,
},
})
.then((response) => {
return response.data
Expand Down
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ async function getCardAttachments(cardId) {

return await axios
.get(url, {
key: trelloApiKey,
token: trelloAuthToken,
params: {
key: trelloApiKey,
token: trelloAuthToken,
},
})
.then((response) => {
return response.data
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remato/trello-integration-action",
"version": "2.1.1",
"version": "2.1.2",
"license": "MIT",
"description": "GitHub Action to integrate Github pull requests with Trello cards",
"main": "dist/index.js",
Expand Down

0 comments on commit bff920e

Please sign in to comment.