Mark draft order endpoint wrong in medusa-js (#1046)

This commit is contained in:
Rishi Kumar Ray authored and olivermrbl committed 2022-02-25 18:53:49 +01:00
1 parent 7a3a1837a1
commit 07a13f6faf
2 files changed
+2 -2

No files matched your search

@@ -83,7 +83,7 @@ class AdminDraftOrdersResource extends BaseResource {
markPaid(
id: string
): ResponsePromise<AdminPostDraftOrdersDraftOrderRegisterPaymentRes> {
const path = `/admin/draft-orders/${id}/register-payment`
const path = `/admin/draft-orders/${id}/pay`
return this.client.request("POST", path, {})
}