fix(medusa-js): correct invites resend path in js client (#6155)
Co-authored-by: Sebastian Rindom <7554214+srindom@users.noreply.github.com>
This commit is contained in:
co-authored by
Sebastian Rindom
parent
daecd82a7c
commit
db4da56023
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/medusa": patch
|
||||||
|
"@medusajs/medusa-js": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(@medusajs/medusa-js): correct invite resend path
|
||||||
|
|
||||||
@@ -146,7 +146,7 @@ class AdminInvitesResource extends BaseResource {
|
|||||||
* })
|
* })
|
||||||
*/
|
*/
|
||||||
resend(id: string, customHeaders: Record<string, any> = {}): ResponsePromise {
|
resend(id: string, customHeaders: Record<string, any> = {}): ResponsePromise {
|
||||||
const path = `/admin/invites/${id}`
|
const path = `/admin/invites/${id}/resend`
|
||||||
return this.client.request("POST", path, undefined, {}, customHeaders)
|
return this.client.request("POST", path, undefined, {}, customHeaders)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user