Skip to content

Commit 4835ba4

Browse files
committed
fix issue where retrospective session date is not recorded
1 parent 7ea307c commit 4835ba4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/web/src/routes/_app/instruments/render

apps/web/src/routes/_app/instruments/render/$id.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const RouteComponent = () => {
3838
const handleSubmit: InstrumentSubmitHandler = async ({ data, instrumentId }) => {
3939
await axios.post('/v1/instrument-records', {
4040
data,
41-
date: new Date(),
41+
date: currentSession!.date,
4242
groupId: currentGroup?.id,
4343
instrumentId,
4444
sessionId: currentSession!.id,

0 commit comments

Comments
 (0)