Skip to content

Commit 33e3475

Browse files
committed
fix: data upload now considers group in upload when possible
1 parent d4a9158 commit 33e3475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/features/upload/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export function reformatInstrumentData({
117117
recordsList.push(createdRecord);
118118
}
119119
const reformatForSending: UploadInstrumentRecordsData = {
120-
groupId: undefined,
120+
groupId: currentGroup?.id,
121121
instrumentId: instrument.id,
122122
records: recordsList
123123
};

0 commit comments

Comments
 (0)