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:
lukebui
2024-01-23 03:31:30 +07:00
committed by GitHub
parent daecd82a7c
commit db4da56023
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
---
"@medusajs/medusa": patch
"@medusajs/medusa-js": patch
---
fix(@medusajs/medusa-js): correct invite resend path

View File

@@ -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)
}
}