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

This commit is contained in:
Niel Swart
2022-02-25 18:53:49 +01:00
committed by olivermrbl
parent 59d5d8a185
commit a9f516ead2
+1 -1
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> {