mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 02:01:10 +02:00
🩹 fix(nutriphi-bot): use correct API field name for image analysis
Change 'image' to 'imageBase64' to match the NutriPhi backend API spec. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d81b8aebf2
commit
83c75ce90e
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ export class NutriPhiService {
|
|||
): Promise<AIAnalysisResult> {
|
||||
return this.request<AIAnalysisResult>('/analysis/photo', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ image: imageBase64, mimeType }),
|
||||
body: JSON.stringify({ imageBase64, mimeType }),
|
||||
token,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue