Changed medusa-client default request payload to null (#1044)
This commit is contained in:
@@ -183,7 +183,7 @@ class Client {
|
|||||||
async request(
|
async request(
|
||||||
method: RequestMethod,
|
method: RequestMethod,
|
||||||
path: string,
|
path: string,
|
||||||
payload: Record<string, any> = {},
|
payload: Record<string, any> | null = null,
|
||||||
options: RequestOptions = {},
|
options: RequestOptions = {},
|
||||||
customHeaders: Record<string, any> = {}
|
customHeaders: Record<string, any> = {}
|
||||||
): Promise<any> {
|
): Promise<any> {
|
||||||
|
|||||||
Reference in New Issue
Block a user