fix(js-sdk): add metadata parameter to request body type of reset-password route (#14458)
* fix(js-sdk): add metadata parameter to request body type * update changeset
This commit is contained in:
1 parent
0ffd790109
commit
ab7b04dbc9
2 files changed
+11
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/js-sdk": patch
|
||||
---
|
||||
|
||||
fix(js-sdk): add metadata parameter to request body type of reset-password route
|
||||
@@ -304,6 +304,12 @@ export class Auth {
|
||||
* this would be the user's email.
|
||||
*/
|
||||
identifier: string
|
||||
/**
|
||||
* Optional metadata to include in the reset password request.
|
||||
*
|
||||
* @since 2.12.4
|
||||
*/
|
||||
metadata?: Record<string, unknown>
|
||||
}
|
||||
) => {
|
||||
await this.client.fetch(`/auth/${actor}/${provider}/reset-password`, {
|
||||
|
||||
Reference in new issue
Block a user