From 83c75ce90ef55393b353d130f448d0e3cc22272b Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sat, 14 Feb 2026 11:28:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix(nutriphi-bot):=20use=20corre?= =?UTF-8?q?ct=20API=20field=20name=20for=20image=20analysis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change 'image' to 'imageBase64' to match the NutriPhi backend API spec. Co-Authored-By: Claude Opus 4.5 --- services/matrix-nutriphi-bot/src/nutriphi/nutriphi.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/matrix-nutriphi-bot/src/nutriphi/nutriphi.service.ts b/services/matrix-nutriphi-bot/src/nutriphi/nutriphi.service.ts index 7a678cc9a..53222dd71 100644 --- a/services/matrix-nutriphi-bot/src/nutriphi/nutriphi.service.ts +++ b/services/matrix-nutriphi-bot/src/nutriphi/nutriphi.service.ts @@ -152,7 +152,7 @@ export class NutriPhiService { ): Promise { return this.request('/analysis/photo', { method: 'POST', - body: JSON.stringify({ image: imageBase64, mimeType }), + body: JSON.stringify({ imageBase64, mimeType }), token, }); }