From 47f2d666dd32040323f9d881eafc0941e4766238 Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Sat, 18 Apr 2026 17:14:24 +0100 Subject: [PATCH] fix(helcim): use Number(id) in wrapped PATCH /subscriptions body --- 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 6cb068f..a0a28c8 100644 --- a/server/utils/helcim.js +++ b/server/utils/helcim.js @@ -99,7 +99,7 @@ export const cancelHelcimSubscription = (id) => export const updateHelcimSubscription = (id, payload) => helcimFetch('/subscriptions', { method: 'PATCH', - body: { subscriptions: [{ id: String(id), ...payload }] }, + body: { subscriptions: [{ id: Number(id), ...payload }] }, errorMessage: 'Subscription update failed' })