Changed medusa-client default request payload to null (#1044)

This commit is contained in:
Niel Swart
2022-02-24 13:37:23 +02:00
committed by GitHub
parent cb7b211c9b
commit 9ab0568b47

View File

@@ -183,7 +183,7 @@ class Client {
async request(
method: RequestMethod,
path: string,
payload: Record<string, any> = {},
payload: Record<string, any> | null = null,
options: RequestOptions = {},
customHeaders: Record<string, any> = {}
): Promise<any> {