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

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