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 07410cb..d6869e9 100644 --- a/src/main/java/io/redlink/more/data/repository/StudyRepository.java +++ b/src/main/java/io/redlink/more/data/repository/StudyRepository.java @@ -318,7 +318,7 @@ public void clearCredentials(String apiId) { final long studyId = rs.getLong("study_id"); final int participantId = rs.getInt("participant_id"); withdrawConsent(studyId, participantId); - updateParticipantStatus(studyId, participantId, 0, + updateParticipantStatus(studyId, 0, participantId, "active", "abandoned"); } );