Skip to content

Commit 984f95e

Browse files
Don’t update patientSession
It destroys health answers, don’t know why, and still works without updating patient session object
1 parent fbfbd2a commit 984f95e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/controllers/patient-session.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ export const patientSessionController = {
342342
createdBy_uid: account.uid
343343
})
344344

345-
// Update patient session
346-
PatientSession.update(patientSession.uuid, patientSession, data)
347-
348345
// Clean up session data
349346
delete data.triage
350347

0 commit comments

Comments
 (0)