Skip to content

Commit 0af9da8

Browse files
authored
fix: replace id with _id for text and vision mfb prompts (#8530)
replace id with _id for text and vision mfb prompts
1 parent 9724e53 commit 0af9da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/modules/form/admin-form/admin-form.assistance.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export const createFormFieldsUsingTextPrompt = ({
311311
> => {
312312
return generateAndsendTextPromptToModel({
313313
userPrompt,
314-
formId: form.id,
314+
formId: form._id,
315315
})
316316
.andThen((modelResponse) => {
317317
if (!modelResponse) {
@@ -496,7 +496,7 @@ export const createFormFieldsUsingVisionPrompt = ({
496496
| FieldNotFoundError
497497
> => {
498498
return generateAndSendVisionPromptToModel({
499-
formId: form.id,
499+
formId: form._id,
500500
imageDataUrls,
501501
})
502502
.andThen((modelResponse) => {

0 commit comments

Comments
 (0)