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:
7
.changeset/fast-mirrors-sell.md
Normal file
7
.changeset/fast-mirrors-sell.md
Normal file
@@ -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 {
|
||||
const path = `/admin/invites/${id}`
|
||||
const path = `/admin/invites/${id}/resend`
|
||||
return this.client.request("POST", path, undefined, {}, customHeaders)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user