Skip to content

Commit

Permalink
remove not needed arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiNyzhnyk committed Jun 9, 2022
1 parent f225432 commit bc3f65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -332,7 +332,7 @@ const appendDataContext = function (plugin, settings) {
// append tags from document request to JSON request
settings.jsonPath = request.query.tags
? Utilities.appendQueryString(settings.jsonPath, 'tags', request.query.tags)
: Utilities.appendQueryString(settings.jsonPath, null, null);
: Utilities.appendQueryString(settings.jsonPath);

const prefixedSettings = Hoek.clone(settings);
if (routePrefix) {
Expand Down

0 comments on commit bc3f65e

Please sign in to comment.