fix: email banner bug (#628)

This commit is contained in:
Maxwell Frank
2025-05-23 13:49:01 -04:00
committed by GitHub
parent dcab4f1b75
commit 2f3f3bcd8b

View File

@@ -42,7 +42,7 @@ export const get = (...args) => getAuthenticatedHttpClient().get(...args);
* @param {string} url - target url
* @param {object|string} body - post payload
*/
export const post = (url, body) => getAuthenticatedHttpClient().post(url, stringify(body));
export const post = (url, body = {}) => getAuthenticatedHttpClient().post(url, stringify(body));
export const client = getAuthenticatedHttpClient;