Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #5 from feathers-plus/resolver-path-02
Browse files Browse the repository at this point in the history
Fixed error in convertArgsToFeathers
  • Loading branch information
eddyystop committed Feb 5, 2018
2 parents eaa10b3 + 9018aed commit 481fc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/run-time/feathers/convert-args-to-feathers.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function convertArgsToFeathers(args, ast, moreParams = []) {
moreParams = Array.isArray(moreParams) ? moreParams : [moreParams];

const feathersParams = merge(
{ graphql: ast ? resolversAst(ast) : true },
{ graphql: ast ? resolversAst(ast).resolverPath : true },
{ query: args.query || {} }, // { query } must be defined.
args.params || {},
...moreParams,
Expand Down

0 comments on commit 481fc99

Please sign in to comment.