Skip to content

Commit

Permalink
NXJS-220: align Repository#query on non-deprecated search endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
troger committed Dec 2, 2024
1 parent dbbb7f3 commit e8226a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Repository extends Base {
}

_computeQueryPath(queryOpts) {
return join('search', queryOpts.query ? 'lang/NXQL' : `pp/${queryOpts.pageProvider}`, 'execute');
return join('search', queryOpts.pageProvider ? `pp/${queryOpts.pageProvider}` : '', 'execute');
}
}

Expand Down

0 comments on commit e8226a8

Please sign in to comment.