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())