Skip to content

Commit

Permalink
fix: #205 reset-password params issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem committed May 6, 2022
1 parent 2379944 commit 4c84259
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog/1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
* [Bug]: Only featured image used to be displayed on product page [#195](https://github.com/vuestorefront-community/vendure/issues/195)
* [Bug]: Pagination not working [#200](https://github.com/vuestorefront-community/vendure/issues/200)
* [Bug]: Cannot continue to payment if shipping price i 0 [#199](https://github.com/vuestorefront-community/vendure/issues/199)
* [Bug]: HTTP 500 calling /api/vendure/resetPassword [#205](https://github.com/vuestorefront-community/vendure/issues/205)
3 changes: 2 additions & 1 deletion packages/api-client/src/api/resetPassword/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { NO_CACHE_FETCH_POLICY } from '../../helpers';

const resetPassword = async (context: Context, params: ResetPasswordParams, customQuery?: CustomQuery): Promise<ResetPasswordResponse> => {
const ResetPasswordVariables = {
...params
token: params.tokenValue,
password: params.newPassword
};

const { resetPassword } = context.extendQuery(
Expand Down

0 comments on commit 4c84259

Please sign in to comment.