Skip to content

Commit 2f3f3bc

Browse files
authored
fix: email banner bug (#628)
1 parent dcab4f1 commit 2f3f3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/services/lms/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const get = (...args) => getAuthenticatedHttpClient().get(...args);
4242
* @param {string} url - target url
4343
* @param {object|string} body - post payload
4444
*/
45-
export const post = (url, body) => getAuthenticatedHttpClient().post(url, stringify(body));
45+
export const post = (url, body = {}) => getAuthenticatedHttpClient().post(url, stringify(body));
4646

4747
export const client = getAuthenticatedHttpClient;
4848

0 commit comments

Comments
 (0)