From 50eb7c662266e3725f321ac819e8d3440f4f5f6c Mon Sep 17 00:00:00 2001 From: Jakob Frank Date: Mon, 29 Apr 2024 08:26:37 +0200 Subject: [PATCH] #121: re-enable consent-recording on participant-signup --- .../java/io/redlink/more/data/repository/StudyRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/redlink/more/data/repository/StudyRepository.java b/src/main/java/io/redlink/more/data/repository/StudyRepository.java index df37d27..ad11dba 100644 --- a/src/main/java/io/redlink/more/data/repository/StudyRepository.java +++ b/src/main/java/io/redlink/more/data/repository/StudyRepository.java @@ -255,7 +255,7 @@ public Optional createCredentials(String registrationToken, ParticipantC var routingInfo = ri.get(); final String secret = passwordSupplier.get(); - //storeConsent(routingInfo.studyId(), routingInfo.participantId(), consent); + storeConsent(routingInfo.studyId(), routingInfo.participantId(), consent); final String apiId = namedTemplate.queryForObject(SQL_INSERT_CREDENTIALS, toParameterSource(routingInfo.studyId(), routingInfo.participantId())