handle the case if maxResult parameter is undefined

This commit is contained in:
Jonathan 2025-03-14 16:35:56 +01:00
parent 350459d8ae
commit e648af76aa

View file

@ -148,7 +148,7 @@ export class JiraClient {
`/search?fields=summary&jql=${
this.options.issueQuery ??
"assignee = currentUser() AND resolution = Unresolved order by updated DESC"
}&maxResults=${this.options.maxResults}`,
}&maxResults=${this.options.maxResults ?? "50"}`,
),
{
method: "GET",