Skip to content

Commit

Permalink
Skohub: Fix small issue in search (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jun 23, 2022
1 parent fad7483 commit 0110477
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/skohub-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ export default class SkohubProvider extends BaseProvider {
* @returns {Array} array of JSKOS concept objects
*/
async search({ search, scheme, limit = 100 }) {
scheme = await this._loadScheme({ scheme })
if (!scheme || !scheme.uri) {
throw new errors.InvalidOrMissingParameterError({ parameter: "scheme" })
}
Expand Down

0 comments on commit 0110477

Please sign in to comment.