From 07e005ebfc66f645d2f08f457799b75992bcaefb Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Wed, 8 Apr 2026 21:40:53 +0100 Subject: [PATCH] refactor(helcim): make helcimFetch body check consistent --- server/utils/helcim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/helcim.js b/server/utils/helcim.js index 37bc69a..dac997a 100644 --- a/server/utils/helcim.js +++ b/server/utils/helcim.js @@ -51,7 +51,7 @@ export async function helcimFetch(path, { method = 'GET', body, idempotencyKey, const response = await fetch(`${HELCIM_API_BASE}${path}`, { method, headers, - body: body ? JSON.stringify(body) : undefined + body: body !== undefined ? JSON.stringify(body) : undefined }) if (!response.ok) {