Skip to content

Commit

Permalink
fix: lodash zipObject wrong order
Browse files Browse the repository at this point in the history
fixes #670
  • Loading branch information
shanejonas authored Jul 17, 2021
1 parent 25761a8 commit 5c1a1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class <%= className %> {
let rpcParams;
if (methodObject.paramStructure && methodObject.paramStructure === "by-name") {
rpcParams = _.zipObject(params, _.map(methodObject.params, "name"));
rpcParams = _.zipObject(_.map(methodObject.params, "name"), params);
} else {
rpcParams = params;
}
Expand Down

0 comments on commit 5c1a1ef

Please sign in to comment.