Skip to content

Commit e8c60a0

Browse files
committed
fix: add pk for the s3 uploader
1 parent d8cf29e commit e8c60a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/visionAction.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ async function uploadImage(imgBlob, id, fieldName) {
492492
contentType: type,
493493
size,
494494
originalExtension: extension,
495-
recordPk: route?.params?.primaryKey,
495+
recordPk: id,
496496
},
497497
});
498498

0 commit comments

Comments
 (0)