Skip to content

Commit

Permalink
- Fix bad payload construction for creating scan forms (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 authored Oct 13, 2023
1 parent 20e122d commit 7ed1b2d
Show file tree
Hide file tree
Showing 6 changed files with 980 additions and 30 deletions.
5 changes: 3 additions & 2 deletions src/services/scan_form_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ export default (easypostClient) =>
});
}

const wrappedParams = {};
wrappedParams[this.key] = params;
const wrappedParams = {
scan_form: params,
};

return this._create(url, wrappedParams);
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7ed1b2d

Please sign in to comment.