Skip to content

Commit

Permalink
fix params
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelLinearB committed Sep 1, 2024
1 parent 5db7f85 commit e78cc47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/filters/suggestIssues/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
* @module suggestIssues
* @description Fetches ticket recommendations based on given pull request details.
* @param {object} pr - The pull request object containing title, author, and created_at properties.
* @param {object} pr - The branch object containing the branch name.
* @param {string} apiKey - The API key used to authenticate requests.
* @returns {Array} Returns an array of suggested issues related to the current Pull Request.
* @example {{ pr | suggestIssues(env.LINEARB_TOKEN) }}
* @example {{ pr | suggestIssues(branch, env.LINEARB_TOKEN) }}
* @license MIT
**/

Expand Down
1 change: 1 addition & 0 deletions plugins/filters/suggestIssues/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ A gitStream plugin to suggest issues to link to the PR
| Param | Type | Description |
| ------ | -------- | ------------------------------------------------ |
| pr | `Object` | The pull request object from gitStream's context |
| branch | Object | The branch object from gitStream's context |
| apiKey | `string` | The API key used to authenticate requests. |


Expand Down

0 comments on commit e78cc47

Please sign in to comment.